Commit 1ca7f8a
committed
content: Support basic text styles for KaTeX content
This adds another experimental flag called `forceRenderKatex`
which, if enabled, ignores any errors generated by the parser
(like when encountering an unsupported CSS class) tries to do
a "broken" render of the available span and their styles.
Allowing the developer to test the different KaTeX content in
the wild easily, while still in development.1 parent 4a26227 commit 1ca7f8a
File tree
6 files changed
+769
-39
lines changed- lib
- model
- widgets
- test
- model
- widgets
6 files changed
+769
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
374 | 375 | | |
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
| 380 | + | |
| 381 | + | |
379 | 382 | | |
380 | 383 | | |
381 | 384 | | |
| |||
389 | 392 | | |
390 | 393 | | |
391 | 394 | | |
| 395 | + | |
392 | 396 | | |
393 | 397 | | |
394 | 398 | | |
| |||
0 commit comments