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

Mathjax improves and TOC issues. #220

Open
illava opened this issue Jun 1, 2020 · 1 comment
Open

Mathjax improves and TOC issues. #220

illava opened this issue Jun 1, 2020 · 1 comment

Comments

@illava
Copy link

illava commented Jun 1, 2020

Count not set uses MathJax rendering in config file

I tried math_output = True and math-output = True in cfg file.

More math type options.

in themes\default\base.html:70
may change into

tex2jax: {inlineMath: [['$','$'],['\\(','\\)']], displayMath: [['$$', '$$'], ['\\[','\\]']]}

[TOC] isn't jump correct

toc.md

# TOC Jump Issue

Table of content isn't jumping correctly.

---

## TOC
[TOC]

---

## A

A blabla.

---

### A1

A1 blabla...

---

### A2

A2 blabla...

---

## B

B blabla...

---

### B1

b1 blabla...

---

### B2

b2 blabla...


toc.cfg

[landslide]
source = toc.md
relative = True
extensions = toc

The generated html is not jumping correctly by clicking toc. Is it the correct way to gen it?

env:
landslide 1.1.6
Python 3.7.3

The extension is brilliant btw. I loved it.

p.s. I didn't get \ref{} in mathjax working. If someone worked it out. Let me know, thx.

@illava
Copy link
Author

illava commented Jun 2, 2020

Also, change css into img { display: block; margin: auto; max-width: 100%; } to auto fit into ppt slide for large image.

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