hackmdio / hackmdio/hackmd-io-issues

Excluding Table of Contents entry in TOC

Open
#225 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
No language data
Stars
40
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Hi Hackmd team! Thanks for your hard work to provide us such a wonderful markdown collaboration platform.
However, I am frustrated that `Table of Contents` entry is included in the actual Table of Contents by using `[TOC]` in both Hackmd and Codimd. I think a tentative solution to this is to explicitly exclude a few key words like `Table of Contents` and `目录` in `[TOC]` to make it clearer. An alternative solution might be supporting a special tag to be ignored by `[TOC]`. What do you guys think? The actual behavior is shown below:

![image](https://user-images.githubusercontent.com/3343358/103527353-2b77f780-4ebd-11eb-82cd-38260dddf83d.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.