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

Math formula and source code #75

Open
Fallqs opened this issue Aug 29, 2021 · 2 comments
Open

Math formula and source code #75

Fallqs opened this issue Aug 29, 2021 · 2 comments

Comments

@Fallqs
Copy link

Fallqs commented Aug 29, 2021

It's a pity that

it doesn't look so satisfying when converting Math formulas and source codes via current version. I think it would be useful and convenient if you could improve support for them in future updates.

Math Formula

This is what the original mkdocs website looks like:

截屏2021-08-30 上午12 31 18

And this is what the rendered PDF looks like:

Screenshot_2021-08-30-00-28-25-322_cn wps moffice

Source Code

This is what the original website looks like:

截屏2021-08-30 上午12 31 55

And this is the rendered PDF looks like:

Screenshot_2021-08-30-00-28-53-613_cn wps moffice

@whitewum
Copy link

whitewum commented Sep 3, 2021

I fix the pdf problem by

theme:
    name: 'material'

plugins:
  - with-pdf:
      render_js: true  # add this

https://squidfunk.github.io/mkdocs-material/reference/mathjax/#mathjax

@adamryczkowski
Copy link

How did you manage to do that? I've tried this: #147 and failed with an empty 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

3 participants