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

create issues from features in mdbook not in nimibook #9

Open
pietroppeter opened this issue May 23, 2021 · 4 comments
Open

create issues from features in mdbook not in nimibook #9

pietroppeter opened this issue May 23, 2021 · 4 comments
Labels

Comments

@pietroppeter
Copy link
Owner

we should map all features that are present in mdbook and not here in appropriate issues.

besides looking at mdbook documentation, an useful list to start with is contained in the html comment hidden in README.md (written while converting index.hbs to mustache).

@pietroppeter
Copy link
Owner Author

pietroppeter commented Jun 1, 2021

check below after opening issue with ideas about api/implementation:

playground stuff is probably not relevant (since it is rust specific).

@HugoGranstrom
Copy link
Collaborator

mathjax_support (I would go with katex as in nimib? )

I have no preference in either way really, I just want Latex rendering to work 😛 Just to get it working, would you be ok with adding this so nbDoc.useLatex works at least?

		{{#latex}}
        <!-- MathJax -->
        <script async type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
        {{/latex}}

@pietroppeter
Copy link
Owner Author

pietroppeter commented Aug 4, 2021

Well, already now without changing anything in nimibook using

nbDoc.context["mathjax_support"] = true

Should make latex work (with mathjax).

To add latex with katex (should be faster than mathjax) and make nbDoc.useLatex work we would need to just add {{{latex}}} in document.mustache's head.

@HugoGranstrom
Copy link
Collaborator

HugoGranstrom commented Aug 4, 2021

Of course! The simple solution is too obvious sometimes 😅 Thank you! :)

@pietroppeter pietroppeter changed the title map as issues lacking features from mdbook create issues from features in mdbook not in nimibook Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants