Posts

Showing posts with the label Markdown

Are There Any Tools To Convert Markdown To Wiki Text In Other Formats

Answer : Try Pandoc, a universal document converter: $ pandoc --help pandoc [OPTIONS] [FILES] Input formats: docbook, haddock, html, json, latex, markdown, markdown_github, markdown_mmd, markdown_phpextra, markdown_strict, mediawiki, native, opml, rst, textile Output formats: asciidoc, beamer, context, docbook, docx, dzslides, epub, epub3, fb2, html, html5, json, latex, man, markdown, markdown_github, markdown_mmd, markdown_phpextra, markdown_strict, mediawiki, native, odt, opendocument, opml, org, pdf*, plain, revealjs, rst, rtf, s5, slideous, slidy, texinfo, textile It's available for virtually every platform. Pandoc has a web tool for this.

Bitbucket README Markdown Ordered List Restarts After Code Block

Answer : Insert 4 spaces before the blockquotes > . This serves two purposes at once: first, it indents the quote, so it aligns with the number above it (as it is part of that numbered item). Second, most MD parsers know this means the indented item should not interrupt the numbered list. Actually, I think you're wrong to use a "block quote". Maybe you should use a regular indented 'code' here, using 4 spaces and backticks around your literal code: Clone the repository git clone URL (Four spaces and ` around the command line.) An even better answer, the general structure should be like this: 1. item n.1 2. item n.2 #!json { "key": "value" } 3. item n.3 So: Put a blank line before and after your code block. Indent everything with 8 spaces; no need to 3 backticks before and after the code block. If you want syntax highlighting, put a #!<language-name> indented with 8 spaces ...

Changing Image Size In Markdown

Answer : You could just use some HTML in your Markdown: <img src="drawing.jpg" alt="drawing" width="200"/> Or via style attribute ( not supported by GitHub ) <img src="drawing.jpg" alt="drawing" style="width:200px;"/> Or you could use a custom CSS file as described in this answer on Markdown and image alignment ![drawing](drawing.jpg) CSS in another file: img[alt=drawing] { width: 200px; } With certain Markdown implementations (including Mou and Marked 2 (only macOS)) you can append =WIDTHxHEIGHT after the URL of the graphic file to resize the image. Do not forget the space before the = . ![](./pic/pic1_50.png =100x20) You can skip the HEIGHT ![](./pic/pic1s.png =250x) The accepted answer here isn't working with any Markdown editor available in the apps I have used till date like Ghost, Stackedit.io or even in the StackOverflow editor. I found a workaround here in the StackEdit.io iss...