Skip to content

Instantly share code, notes, and snippets.

@vuklip
vuklip / docx2md.md
Last active February 26, 2017 18:54 — forked from jesperronn/docx2md.md
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can use homebrew by running the command brew install pandoc.

The Solution

@vuklip
vuklip / markdown.md
Last active September 21, 2023 20:44
markdown extention
инструкция что делает
<sub>text</sub> подстрочный текст
<sup>text</sup> надстрочный текст
<ins>text</ins> подчеркнутый текст
&nbsp; отступ. втыкать столько роз сколько необходимо
<sup id="a1">[1](#f1)</sup> сноска
<b id="f1">1</b> Footnote. [↩](#a1) куда ссылается
@vuklip
vuklip / md2docx.md
Last active June 23, 2017 12:18
md2docx

$ pandoc --reference-docx=style.docx test.md -o test.docx

A little bit of man:

--reference-docx=FILE Use the specified file as a style reference in producing a docx file. For best results, the reference docx should be a modified version of a docx file produced using pandoc. The contents of the reference docx are ignored, but its stylesheets and document properties (including margins, page size, header, and footer) are used in the new docx. If

:root {
--sidebar-width: 196px;
--toolbar-height: -26px;
--urlbar-icon-padding: 5px !important;
--toolbarbutton-border-radius: 0 !important;
}
/*.browser-toolbar {
background-color: -moz-Field !important;
}*/
@vuklip
vuklip / TestSetUp.swift
Created November 25, 2022 10:06
setUp and tearDown for each test and all tests in suite
// Based on https://stackoverflow.com/a/29822900/5116532
import XCTest
class TestSetUp: XCTestCase {
// Called once before all tests are run
override class func setUp() {
super.setUp()
print("class func setUp()")
}
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Artem Belov",
"label": "QA Automation Engineer",
"image": "https://avatars.githubusercontent.com/u/5083769",
"email": "artem.al.belov+job@gmail.com",
"summary": "QA Automation and Performance Engineer with 8 years of experience in software testing.",
"location": {
"address": "",