this is for holding javascript data
Beni Cherniavsky-Paskin markdown: Test links to manual and automatic section anchors
almost 6 years ago
Commit id: a751be7d3770239a5381559ebaa6bb53b507af37
deletions | additions
diff --git a/README.md b/README.md
index 882cb62..5664c78 100644
--- a/README.md
+++ b/README.md
...
See also -> https://cben.github.io/sandbox/katex for using KaTeX instead of MathJax.
### Linking to headers {#test-anchor}
Does github support [explicit header anchors](https://talk.commonmark.org/t/anchors-in-markdown/247/28)?
[link to `#test-anchor`](#test-anchor)
Does GitHub [automatically generate ids for headers](https://talk.commonmark.org/t/feature-request-automatically-generated-ids-for-headers/115/80)? Yes — [doc](https://help.github.com/articles/basic-writing-and-formatting-syntax/#section-links)
- The links have no prefix: [link to `#markdown`](#markdown)
- However the actual anchor is prefixed `id="user-content-markdown"`! [link to `#user-content-markdown`](#user-content-markdown)
Interesting, this link scrolls to a slightly different place than `#markdown`.
I'm not sure how the unprefixed `#markdown` link works at all, perhaps by JS parsing the URL?
### Gitlab math syntaxes
inline $`\frac{kram}{down} \sum_0^\infty`$ text.