Today, we discover the beauty of hyperlinks: https://guix.gnu.org/manual/devel/en/html_node/Using-the-Configuration-System.html . Yup, you can click on the #Guix symbols in code snippets to jump to their doc!
@civodul whoa how did you do that? and how did you get syntax highlighting in the manual?
@dthompson hey! Syntax-highlighting is implemented using your great syntax-highlight library. That and hyperlinks happens as post-processing of makeinfo-generated HTML: https://git.savannah.gnu.org/cgit/guix.git/tree/doc/build.scm . Yes, it's a hack. :-)
@civodul a very neat hack! I have a few manuals I'd like to add syntax highlighting to. thanks!
@civodul Looks really cool, but links in the code are hard to notice, it is possible change their color or make them underscored?
@civodul they looks like it's a part of syntax highlighting
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!