Closed ukdor closed 6 years ago
Example: " COMMENT Table" should not be considered a heading " :noexport:" should not be considered a heading
Example:
" COMMENT Table" should not be considered a heading " :noexport:" should not be considered a heading
NOTE: This will also catch any heading where "COMMENT" or ":noexport:" are found on the line.
Coding example:
Within main.js, add the following to "export function * headingLevels (tokens) {":
let isCommentLine = token.text.match(/^(\*+ ).*(COMMENT)/) let isNoexportLine = token.text.match(/^(\*+ ).*(:noexport:)/) if (token.type !== 'code' && !isCommentLine && !isNoexportLine) {
Closed in version 0.7.0
NOTE: This will also catch any heading where "COMMENT" or ":noexport:" are found on the line.
Coding example:
Within main.js, add the following to "export function * headingLevels (tokens) {":