Skip to content

Mathjax improves and TOC issues. #220

Description

@illava

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions