问题
The below code works for auto-numbering lists in plain html:
---
title: "Assignment 1"
output:
html_document:
number_sections: true
---
1. First
2. second
but how can I use auto-numbering to output a github_document?
UPDATE: this works for me after updating to pandoc 2.2.3.2 and RMarkdown 1.10 not sure if there are other ways
---
title: "Assignment 1"
output: github_document
---
#. First
#. second
来源:https://stackoverflow.com/questions/51071256/how-to-include-auto-numbered-lists-in-github-document