Tilman Vatteroth
a398660c18
Add cypress id attribute only in test mode ( #1566 )
...
* Add function for test attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Adjust components
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix naming of attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method, interface, attribute and use interface
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Lint and format fix
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 21:20:23 +02:00
renovate[bot]
2abe40ef1d
Update dependency eslint-plugin-import to v2.25.2 ( #1555 )
...
* Update dependency eslint-plugin-import to v2.25.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Make type imports more explicit
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Enforce use of type imports
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-10-17 18:45:58 +02:00
Tilman Vatteroth
c017df0a3c
Fix linting errors
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 12:10:10 +02:00
Tilman Vatteroth
0e512531a0
Improve Logging ( #1519 )
...
Improve Logging
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-28 22:06:35 +02:00
Tilman Vatteroth
fa82368dfd
Add new css class for code highlighting
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-17 12:31:10 +02:00
Tilman Vatteroth
82472227f9
Replace react-html-parser with html-to-react ( #1327 )
...
* Replace react-html-parser with html-to-react
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-18 23:26:36 +02:00
Erik Michelson
0aae1f70d2
Add prettier for codestyle and re-format everything ( #1294 )
2021-06-06 23:14:00 +02:00
Erik Michelson
1eea135a9d
Replace deprecated highlight.js syntax ( #1295 )
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-06-05 20:21:54 +00: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
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
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
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
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
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
f3bf7cd105
Added reuse information ( #782 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-22 21:50:07 +01:00
Philip Molares
b094fe1de6
added js as an extra highlighted language ( #646 )
2020-10-06 14:20:23 +02:00
mrdrogdrog
101292da92
Feature/lazy load components ( #590 )
2020-09-26 09:54:17 +02:00
Philip Molares
8e8190b800
Add copy-to-clipboard-button to all code blocks ( #566 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-19 22:24:49 +02:00
mrdrogdrog
3a0e35a9f3
Improve render performance ( #511 )
...
Massive improvement of render performance by:
- replacing the codimd-line-marker with an in-memory map
- an observation of the changed markdown code to identify changed lines
- a unique react-key calculation
2020-09-02 20:51:47 +02:00
mrdrogdrog
0fadc09f2b
Restructure repository ( #426 )
...
organized repository
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <git@molar.es>
2020-08-16 16:02:26 +02:00