hpc-carpentry / hpc-python

HPC Python lesson materials

Home Page:https://hpc-carpentry.github.io/hpc-python/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

code formatting

tkphd opened this issue · comments

The Carpentries stylesheet provides magic to format code. These should be applied throughout the hpc-python lessons.

A number of code blocks are marked python, but they correspond to Snakemake, which is similar to Make in syntax. This is confusing.

At present, supported languages for syntax highlighting are (source):

  • Bash
  • Make
  • Matlab
  • Python
  • R
  • SQL

I'll see if {: .language-make} makes the highlighting any more pleasant.