Tilman Vatteroth
64fe7233e7
Fix code highlight indentation
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-15 22:14:02 +02:00
Erik Michelson
7a21a26166
Disallow data and javascript URIs ( #1186 )
...
* Disallow data and javascript URIs
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-04-11 22:48:31 +02:00
renovate[bot]
ab9f89f39f
Update dependency vega to v5.20.2 ( #1152 )
...
* Update dependency vega to v5.20.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Add type to error object
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Add renovate group for vega
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Update vega code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-04-10 15:27:42 +00:00
Erik Michelson
f9809a4edf
Add e2e tests for diagrams and embeddings ( #1025 )
2021-02-22 22:27:59 +01:00
Tilman Vatteroth
d9292e4db0
Merge basic and full markdown renderer ( #1040 )
...
The original idea of the basic-markdown-renderer and the full-markdown-renderer was to reduce the complexity. The basic markdown renderer should just render markdown code and the full markdown renderer should implement all the special hedgedoc stuff like the embeddings.
While developing other aspects of the software I noticed, that it makes more sense to split the markdown-renderer by the view and not by the features. E.g.: The slide markdown renderer must translate <hr> into <sections> for the slides and the document markdown renderer must provide precise scroll positions. But both need e.g. the ability to show a youtube video.
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-17 21:58:21 +00:00
Tilman Vatteroth
37234f9c09
Improve key compare in rendering ( #1027 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-10 16:10:57 +01:00
Tilman Vatteroth
8a2d26f718
Remove custom abcjs types ( #1024 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-08 21:19:02 +01:00
Tilman Vatteroth
47f5e7653b
Readd legacy pdf short code markdown it plugin ( #1023 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-08 20:03:49 +01:00
Tilman Vatteroth
5b1940f0ba
Add quote extra markdown it plugin ( #1020 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-08 18:29:02 +01:00
Tilman Vatteroth
7f6e0e53a7
Add custom intro page by fetching markdown content from a file ( #697 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-08 15:03:11 +01:00
Tilman Vatteroth
e12dc523f8
Adjust editor config ( #976 )
...
* Adjust editor config
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2021-02-03 22:13:04 +01:00
Tilman Vatteroth
0180c75e55
Remove wider mode #999
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-02 22:13:31 +00:00
Tilman Vatteroth
f7be49bbc3
Fix document renderer sizing issues (3/4) ( #998 )
...
* Rework renderer columns
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-02 21:53:43 +01:00
Tilman Vatteroth
123f959fb3
Move and rename files (2/4) ( #987 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-02 00:03:47 +01:00
Tilman Vatteroth
1b7abf9f27
Reorganize redux and hooks (1/4) ( #985 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-01 22:55:49 +01:00
Tilman Vatteroth
add741a677
Remove PDF embedding ( #1000 )
...
* Remove PDF embedding
* Add pdf deprecation to CHANGELOG.md
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-31 21:36:16 +01:00
Philip Molares
4c1f081399
ABCFrame text-color is always black
...
fixes #977
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-26 23:57:51 +01:00
Tilman Vatteroth
0627e0f551
Replace document bar with sidebar ( #937 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-24 21:39:47 +01:00
Tilman Vatteroth
586969f368
Wrap markdown rendering in iframe ( #837 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-24 20:50:51 +01:00
Tilman Vatteroth
bd31076928
Update abc js to version 6-beta ( #975 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-23 22:12:56 +01:00
Tilman Vatteroth
1777ba848f
Collected minor changes from #837 ( #962 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-23 21:01:53 +00:00
Tilman Vatteroth
c9168fcaa7
Limit attributes for external links ( #950 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-16 09:08:23 +01:00
Tilman Vatteroth
9f6b1a9a46
Fix counter continue in highlighted-fence-replacer.tsx ( #943 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-13 11:52:06 +01:00
Philip Molares
7be64bc582
added a spoiler container ( #947 )
...
changed toolbar to insert the new spoiler container
changed tests accordingly
References:
https://github.com/markdown-it/markdown-it-container
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-13 11:45:33 +01:00
Philip Molares
9330adf564
fixed title extraction to exclude latex code, but include rendered latex ( #946 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-12 18:18:56 +01:00
Tilman Vatteroth
3db6bcf892
Improve tests ( #944 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-11 22:22:11 +00:00
renovate[bot]
1b90cc4c6e
Update dependency js-yaml to v4 ( #934 )
...
* Update dependency js-yaml to v4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Replace yaml.safeLoad with yaml.load as its safe now by default
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Update @types/js-yaml
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-09 15:12:43 +01:00
Tilman Vatteroth
a6996d9414
Limit lightbox size ( #923 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-08 09:36:19 +01:00
Tilman Vatteroth
005597e880
Use original markdown-it-anchor ( #914 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-07 16:52:00 +00:00
Erik Michelson
527df561ef
Fix yaml metadata and document title not resetting on deletion ( #915 )
2021-01-07 17:38:06 +01:00
Tilman Vatteroth
4459dc742f
Move yaml-array warning to documentrenderpane ( #916 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-07 16:24:06 +01:00
Tilman Vatteroth
28600d6508
Change copyright year from 2020 to 2021 ( #917 )
...
* Change copyright year from 2020 to 2021
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Change copyright year in jetbrains copyright template
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 21:37:59 +01:00
Tilman Vatteroth
887c3b9dd3
Feature/browserstack ( #902 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 13:09:33 +01:00
Erik Michelson
b2cf2f134e
Add ability to use yaml-array for tags ( #874 )
2021-01-04 13:01:34 +01:00
Tilman Vatteroth
bf42b9c460
Minor fixes ( #911 )
...
* Replace full links
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Use dark mode hook
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add overflow for graphviz and abc
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Cap max height of toc overlay
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Remove extension from css import
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix hook
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-03 00:19:10 +01:00
Tilman Vatteroth
528e67e11e
Open links always in new tabs ( #912 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-03 00:06:13 +01:00
Tilman Vatteroth
53053813bd
update markdown-it-anchor ( #892 )
...
* update markdown-it-anchor
* Update markdown-it-types
* Regenerate yarn.lock
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-26 16:56:46 +01:00
Tilman Vatteroth
91fcc4fe40
Improvement/update better task list ( #878 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-24 10:27:22 +01:00
Tilman Vatteroth
8ce344512c
Use fira code in editor ( #695 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-14 23:58:46 +01:00
Tilman Vatteroth
c5af44909c
Update markmap ( #834 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-12 13:45:10 +01:00
Tilman Vatteroth
fee1605636
Add custom language list for highlight js without 1c ( #809 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-07 21:36:14 +01:00
Philip Molares
c09aaf010c
use types from markdown-it-toc-done-right plugin ( #665 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-23 12:40:54 +01:00
Philip Molares
f3bf7cd105
Added reuse information ( #782 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-22 21:50:07 +01:00
Philip Molares
62d95a5704
fix anchor links ( #754 )
2020-11-15 21:23:24 +01:00
renovate[bot]
7fffd9458e
Update dependency markmap-lib to v0.10.1 ( #745 )
...
* Update dependency markmap-lib to v0.10.1
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-07 17:18:32 +01:00
Philip Molares
0e058e16e2
move taskLists from full to basic renderer ( #725 )
2020-11-01 21:38:17 +01:00
Philip Molares
c9fe4e4887
moved alertContainer to basic renderer from full renderer ( #736 )
2020-10-31 20:22:55 +01:00
Tilman Vatteroth
5197d0512b
Disable check box if no onTaskCheckedChange is provided
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-28 11:29:27 +01:00
Tilman Vatteroth
0eabfc3bb3
Fix font-color in flowchart
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-28 11:28:50 +01:00
Tilman Vatteroth
9554d6d3b3
Use bare version of markdown-it-emoji
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-28 11:28:23 +01:00