Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse method not working for latex to html #27

Open
RohitKuwar opened this issue Jan 5, 2024 · 0 comments
Open

parse method not working for latex to html #27

RohitKuwar opened this issue Jan 5, 2024 · 0 comments

Comments

@RohitKuwar
Copy link

I am referring Latex documentation for using it in my Vue application. In documentation below code snippet is given.

let latex = "\documentclass{article}
                  \begin{document}
                   Hello World.
                 \end{document}"

let generator = new HtmlGenerator({ hyphenate: false })

let doc = parse(latex, { generator: generator }).htmlDocument()

console.log(doc.documentElement.outerHTML)

It is not parsing above simple latex code to HTML document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant