Add support for LaTeX inline and block expressions. (#4446)

* Add support for LaTeX inline and block expressions. (#4364)

Co-authored-by: Tom Moor <tom@getoutline.com>

* tsc

* Show heading markers when LaTeX block is being edited

* Tab to space, name katex chunk

* Fork htmldiff, add support for math nodes

Co-authored-by: luisbc92 <luiscarlos.banuelos@gmail.com>
This commit is contained in:
Tom Moor
2022-11-27 06:27:56 -08:00
committed by GitHub
parent cb1b8e9764
commit fa8685d241
16 changed files with 1785 additions and 21 deletions

View File

@@ -339,6 +339,14 @@ function KeyboardShortcuts() {
shortcut: <Key>{"```"}</Key>,
label: t("Code block"),
},
{
shortcut: (
<>
<Key>$$</Key> <Key>Space</Key>
</>
),
label: t("LaTeX block"),
},
{
shortcut: <Key>{":::"}</Key>,
label: t("Info notice"),
@@ -359,6 +367,10 @@ function KeyboardShortcuts() {
shortcut: "`code`",
label: t("Inline code"),
},
{
shortcut: "$latex$",
label: t("Inline LaTeX"),
},
{
shortcut: "==highlight==",
label: t("Highlight"),