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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user