Michael Telatynski
51f0f5718a
improve types
2021-07-12 13:26:34 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Sven Mäder
1d70045065
Refactor maths config options to nested structure
2021-04-06 14:52:55 +02:00
Sven Mäder
3c1169c7a2
Merge remote-tracking branch 'upstream/develop' into maths-parsing-latex
2021-04-06 12:34:51 +02:00
Jaiwanth
d731e82fba
Fixed edit for markdown images
...
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-03-01 22:44:48 +05:30
Sven Mäder
78b3f50bfd
Use LaTeX delimiters by default, add /tex command
...
Since parsing for $'s as maths delimiters is tricky, switch the default
to \(...\) for inline and \[...\] for display maths as it is used in
LaTeX. Add /tex command to explicitly parse in TeX mode, which uses
$...$ for inline and $$...$$ for display maths.
Signed-off-by: Sven Mäder <maeder@phys.ethz.ch>
2020-12-21 00:05:22 +01:00
Aleks Kissinger
839bae21ae
made single and double $ default delimiters
2020-11-10 18:18:53 +00:00
Aleks Kissinger
4df8754aad
allow custom latex delimiters in config.json
2020-09-21 11:00:39 +01:00
Aleks Kissinger
e78734bbf6
Deserialize back to math delimiters for editing
2020-09-20 14:20:35 +01:00
J. Ryan Stinnett
ce226ab534
Replace Riot with Element in docs and comments
...
This only covers the simple cases of references to issues and repos. More
complex areas, such as deployment scripts, will be handled separately.
Part of https://github.com/vector-im/element-web/issues/14864
2020-08-03 18:33:36 +01:00
Hubert Chathi
cbe4f04cd7
Merge pull request #5029 from uhoreg/sanitize_language
...
don't syntax highlight languages that begin with "_"
2020-07-21 13:12:51 -04:00
Hubert Chathi
2ce493307e
don't syntax highlight languages that begin with "_"
2020-07-21 12:47:40 -04:00
Michael Telatynski
8812f98b35
Convert editor to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 09:45:45 +01:00
Michael Telatynski
9c1939b756
match all, not just first instance of tokens to escape
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-15 02:31:30 +01:00
Michael Telatynski
4454db30d6
Escape opening square bracket too
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-15 01:02:08 +01:00
Michael Telatynski
cb10640eaf
detslint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-15 00:53:35 +01:00
Michael Telatynski
c72139fc3f
Convert serialize and deserialize to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-15 00:49:08 +01:00