spanezz / staticsite

Static site generator
GNU General Public License v3.0
45 stars 7 forks source link

`code` feature to render program sources #19

Open spanezz opened 4 years ago

spanezz commented 4 years ago

After introducing the concept of features, it should be quite straightforward to add a code feature that renders files with extension .py, .c, .cc, and so on, as syntax highlighted code, with line numbers, anchors for line numbers, and so on.