About: Quick Markdown Preview   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

It just happens too often that I edit Markdown files. Even if not markdown, sometimes I convert simple text files to HTML and I use Markdown for conversion. I often use discount and pandoc as some of best Markdown tools. I also like speed, so for Markdown preview I like to use either discount or pandoc version. That is why I have created a simple key related Vim macro. While anybody can choose any browser, I have chosen Dillo as one of fastest appearing browsers on screen. You can adapt this to use any browser by your choice

AttributesValues
rdfs:label
  • Quick Markdown Preview
rdfs:comment
  • It just happens too often that I edit Markdown files. Even if not markdown, sometimes I convert simple text files to HTML and I use Markdown for conversion. I often use discount and pandoc as some of best Markdown tools. I also like speed, so for Markdown preview I like to use either discount or pandoc version. That is why I have created a simple key related Vim macro. While anybody can choose any browser, I have chosen Dillo as one of fastest appearing browsers on screen. You can adapt this to use any browser by your choice
dcterms:subject
abstract
  • It just happens too often that I edit Markdown files. Even if not markdown, sometimes I convert simple text files to HTML and I use Markdown for conversion. I often use discount and pandoc as some of best Markdown tools. I also like speed, so for Markdown preview I like to use either discount or pandoc version. That is why I have created a simple key related Vim macro. While anybody can choose any browser, I have chosen Dillo as one of fastest appearing browsers on screen. You can adapt this to use any browser by your choice I have mapped CTRL-P for Markdown preview, but you may adapt it for any other key that you wish. It is fairly simple, and here is the line that has to be inserted in .vimrc map ^P :w!:w!/home/user/tmp/vim-markdown.md:!pandoc -s -f markdown -t html -o /home/user/tmp/vim-markdown.html /home/user/tmp/vim-markdown.md:!dillo /home/user/tmp/vim-markdown.html > /dev/null 2> /dev/null& You need to take care that you use correct temporary directory. You can also name your temporary file vim-markdown.md just as you like it. The file is saved under its original name before the preview, and it will not interfere with quick markdown preview.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software