Lists without bullets points in Markdown

This might sound obvious but… you could understand a list as “lines separated by line breaks” (when you think about the output, not the markup). First item (<– two spaces) Second item This will render to: First item Second item This looks like a list with no bullet points 🙂 A more beautiful example.

Markdown output for Sphinx based documentation [closed]

I didn’t find anything which could take reStructuredText files and convert them to Markdown except for Pandoc, so I wrote a custom writer for Docutils (the reference implementation of reStructuredText and what Sphinx is built upon). The code is available on GitHub. Note that it is only an initial implementation: it handles any reStructuredText document … Read more

How to use PageDown Markdown editor?

The documentation for PageDown is pretty much a mess. I’m going to try to create a much more ready to go example here. Necessary bits JS <script src=”//cdnjs.cloudflare.com/ajax/libs/pagedown/1.0/Markdown.Converter.js”></script> <script src=”//cdnjs.cloudflare.com/ajax/libs/pagedown/1.0/Markdown.Editor.js”></script> <script src=”//cdnjs.cloudflare.com/ajax/libs/pagedown/1.0/Markdown.Sanitizer.js”></script> You can also use the .min.js versions from CDNjs CSS <link rel=”stylesheet” href=”//cdn.rawgit.com/balpha/pagedown/master/demo/browser/demo.css” /> <style> .wmd-button > span { background-image: url(‘//cdn.rawgit.com/derobins/wmd/master/images/wmd-buttons.png’); background-repeat: no-repeat; … Read more

Embedding one markdown document in another

Markdown by itself lacks a notation for including files, which rather screws that. pandoc has an example on using a custom haskell filter on code blocks to include files but this a. leaves a code block around the text and (more importantly) b. doesn’t parse the new file as markdown, and frankly my haskell isn’t … Read more

How can I add a video in Markdown?

Depending on your markdown processor, there may be a built-in syntax. For example, in pandoc the image syntax with a video file extension (.mov, .mp4) can be used: ![](my_video.mov) For other processors, you can always write raw-HTML in your markdown: <video width=”320″ height=”240″ controls> <source src=”https://stackoverflow.com/questions/46273751/video.mov” type=”video/mp4″> </video>