I want to create a TOC for a markdown used in the shiny. However, the <id> is not generated. I followed the markdown grammar to add the <id> manually not work.
> includeMarkdown(set_md_path("usage.md"))
....
<h2>7. Global Setting Page {#7-global-setting-page}</h2>
<p>This page provides global options for controlling access to underlying data. By setting default options, we try to minimize the user’s initial learning cost and ensure that the results displayed on the website are biologically meaningful. For example, we only analyze sample data related to immunotherapy by default, in order to match the core goals of our website, and to remove data bias (confusion caused by different treatments in the data) that first-time users may not see. In addition, we have set up default configuration for CircRNA expression using appropriate CPM quantification. Users can adjust these global options according to their own needs after becoming familiar with the website, in order to facilitate exploring more possibilities of this website.</p>
<img src="https://cdn.jsdelivr.net/gh/shixiangwang/cdn/img/7.PNG" alt="snapshot of Setting Page" style="zoom:50%;" />
You can see that
## 7. Global Setting Page {#7-global-setting-page}
is rendered as
<h2>7. Global Setting Page {#7-global-setting-page}</h2>
Not the same as https://www.markdownguide.org/extended-syntax/#heading-ids.
So what should I do to achieve this?
Best,
Shixiang
I want to create a TOC for a markdown used in the shiny. However, the
<id>is not generated. I followed the markdown grammar to add the<id>manually not work.You can see that
is rendered as
Not the same as https://www.markdownguide.org/extended-syntax/#heading-ids.
So what should I do to achieve this?
Best,
Shixiang