I am trying to come up with a way to use markdown for a series of dichotomous keys. It’s similar to an ordered list but instead of going up, the numbers indicate the level you’re at in the key. In other words it’s numbering how far indented you are into a tree. I’m really trying to keep the text and styling separate and using pandoc to convert between formats. Unfortunately, in markdown ordered lists don’t seem to work like this. I’m open to other markups languages as long as I can define how the numbering works. It may be possible to use CSS to do this but I’m not sure. Here is an example of the final output
↧