zachleat’s avatarzachleat’s Twitter Archive—№ 26,535

  1. …in reply to @SaraSoueidan
    @SaraSoueidan @eleven_ty Not sure if this is helpful or not but I did this on the Eleventy docs: github.com/11ty/11ty.io/blame/master/docs/config.md#L60 If the file is markdown and you know the string header, you can just link to # and the slug of the string.
    1. …in reply to @zachleat
      @SaraSoueidan @eleven_ty If I wanted to get fancy with it, I’d parse the markdown file with markdown-toc and use github.com/jonschlinkert/markdown-toc#tocjson to generate the nav