Expanding on my poking around on getting valid html IDs for reference links one thing I found is that [#](#a1){:#a1} will work while [#](#1a){:#1a} will not. In retrospect this makes perfect sense, since html IDs need to start wwith a letter. #
Digging a little deeper into things here, I note that by default GitHub Pages implementation of Jekyll uses the GFM parser for kramdown. That may explain why the kramdown reference link syntax doesn’t work; I’m going to switch my config to use the kramdown parser and see if that helps, although that may break backtick-fenced code blocks, which may be an unacceptable sacrifice. We shall see. #
On the code block front, I’m going to have to update the styling of the code blocks; they’re not sufficiently set off from the surrounding content when inline. Also the style of the single post pages leaves something to be desired…. #.
Well, that (the [#][a6] reference link syntax) didn’t work even with the syntax changes, and I hate the way the code blocks look (althought to be honest maybe that’s not the fault of the parser. In any case; reverting. I wonder if I can add a vim macro of some sort to do that for me? #
TODO: code block and single post styling.