vscode-markdown icon indicating copy to clipboard operation
vscode-markdown copied to clipboard

"omit in toc" appears in HTML title

Open NeoFantom opened this issue 2 years ago • 1 comments

Problem

When using the extension's command print current document to HTML, the output HTML file's title in <title></title> tag contains the comment <!-- omit in toc -->, which is not intended by the user.

Notice that the HTML page looks clean in the browser, except when you hover your mouse over the tab and see the page's title.

Reproduce

Just use this simple MWE.

# Notes <!-- omit in toc -->

- [Chapter 1](#chapter-1)

# Chapter 1

France is a European nation.

NeoFantom avatar Sep 28 '22 08:09 NeoFantom

Thanks for your report. It has been fixed now and is available in the dev build.

yzhang-gh avatar Sep 28 '22 16:09 yzhang-gh