Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:2020:04:28:vim-ale-pandoc [2020-11-08] dcaiblog:2020:04:28:vim-ale-pandoc [2020-11-10] (current) dcai
Line 1: Line 1:
 ===== Pandoc as a vim ale fixer ===== ===== Pandoc as a vim ale fixer =====
 --- //[[user:dcai|Dongsheng Cai]] 28 Apr 20// --- //[[user:dcai|Dongsheng Cai]] 28 Apr 20//
-Today I was trying to convert some markdown files to dokuwiki format with [[:pandoc]], it came into my mind that I could use pandoc to format plaintext files, for example, github flavored markdown:+ 
 + 
 +Today I was trying to convert some markdown files to dokuwiki format with [[https://pandoc.org/|pandoc]], it came into my mind that I could use pandoc to format plaintext files, for example, github flavored markdown:
 <code> <code>
 pandoc -f gfm -t gfm readme.md --columns=88 pandoc -f gfm -t gfm readme.md --columns=88
Line 8: Line 10:
 This could format the content and wrap line at column 88. This could format the content and wrap line at column 88.
  
-So I quickly hacked together [[https://github.com/dense-analysis/ale/pull/3141|an ale fixer]] which could automatically fix formatting issues on save for pretty much all plaintext files, markdown, wiki, org, even csv, you name it :)+So I quickly hacked together [[https://github.com/dense-analysis/ale/compare/master...dcai:master|an ale fixer]] which could automatically fix formatting issues on save for pretty much all plaintext files, markdown, wiki, org, even csv, you name it :)
  
 Some interesting findings today: Some interesting findings today:
blog/2020/04/28/vim-ale-pandoc.1604844875.txt.gz · Last modified: by dcai