Skip to content

Conversation

@livelazily
Copy link

for example:

Original marked:

var marked = require('marked');

var input = '### CollectionView\'s `getItemView`';

console.log(marked.parse(input));
//=> <h3 id="collectionview-s-getitemview-">CollectionView&#39;s <code>getItemView</code></h3>

the h3's id is collectionview-s-getitemview-

but in github, the id is collectionviews-getitemview
github just ignore all non word characters

@SamyPesse
Copy link
Member

Sorry for taking so long, can you rebase on master so that we can merge it.

@SamyPesse SamyPesse closed this in 82f814f Jul 12, 2014
SamyPesse added a commit that referenced this pull request Mar 24, 2024
* Start

* Use MathJax v3

* Format

* Improve font-size

* Lint

* Better handle loading

* Copy MathJax assets to public folder

* Attempt at using local assets for MathJax

* Use bun 1.0.31

* Try with bun 1.0.33

* Try fixing headers

* Simplify

* Simplify and not use suspense module

* Cleanup more

* Add test for Math

* Make math block scroll if needed

* Update packages/react-math/src/KaTeX.tsx

Co-authored-by: Greg Bergé <berge.greg@gmail.com>

* Use React.use

* Format

* Use exports

* Lint

* Disable cache in CI for lint

* Format

---------

Co-authored-by: Greg Bergé <berge.greg@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants