4 ms·
The one advantage I saw over markdown vs rsT, say, was that documents with markdown looked good when viewed in Vim as well. But when I'm including code in a do
by bb88 9y ago
The one advantage I saw over markdown vs rsT, say, was that documents with markdown looked good when viewed in Vim as well.
But when I'm including code in a doc I much rather prefer rsT, because I can specify the code type so the syntax highlighter doesn't have to guess about the language.
- WorldMaker 9y agoThere are Vim syntax highlight scripts for rST, but they've never been included in the base install like Markdown. This is the one I used for years, I believe: https://www.vim.org/scripts/script.php?script_id=973 https://www.vim.org/scripts/script.php?script_id=973 Looks like several people recommend this script: https://github.com/dhabyx/riv.vim https://github.com/dhabyx/riv.vim