You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expectation
The code is highlighted and the mathematical formula is displayed normally
I checked the output HTML, no head tag, no CSS, no JS file. Why? What do I need to do?
Reproduce the bug
1.code is like this:
from markdown_it import MarkdownIt
from mdit_py_plugins.front_matter import front_matter_plugin
from mdit_py_plugins.footnote import footnote_plugin
from mdit_py_plugins.texmath import texmath_plugin
md = (
MarkdownIt()
.use(front_matter_plugin)
.use(footnote_plugin)
.use(texmath_plugin)
.enable('image')
.enable('table')
)
Describe the bug
context
my code
from markdown_it import MarkdownIt
from mdit_py_plugins.front_matter import front_matter_plugin
from mdit_py_plugins.footnote import footnote_plugin
from mdit_py_plugins.texmath import texmath_plugin
md = (
MarkdownIt()
.use(front_matter_plugin)
.use(footnote_plugin)
.use(texmath_plugin)
.enable('image')
.enable('table')
)
all_the_text = open('markdown.md').read()
tokens = md.parse(all_the_text)
html_text = md.render(all_the_text)
expectation
The code is highlighted and the mathematical formula is displayed normally
I checked the output HTML, no head tag, no CSS, no JS file. Why? What do I need to do?
Reproduce the bug
1.code is like this:
from markdown_it import MarkdownIt
from mdit_py_plugins.front_matter import front_matter_plugin
from mdit_py_plugins.footnote import footnote_plugin
from mdit_py_plugins.texmath import texmath_plugin
md = (
MarkdownIt()
.use(front_matter_plugin)
.use(footnote_plugin)
.use(texmath_plugin)
.enable('image')
.enable('table')
)
all_the_text = open('markdown.txt').read()
tokens = md.parse(all_the_text)
html_text = md.render(all_the_text)
List your environment
No response
The text was updated successfully, but these errors were encountered: