Commit graph

1712 commits

Author SHA1 Message Date
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
Renovate Bot
364aec1318 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-15 10:25:12 +01:00
Renovate Bot
54c6f025b1 Update dependency luxon to v1.26.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-14 01:06:13 +01:00
Renovate Bot
468884df79 Update definitelyTyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:53:54 +01:00
Renovate Bot
47d15d25b7 Update dependency @testing-library/user-event to v12.7.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:46:56 +01:00
Renovate Bot
7b4b3f99e2 Update typescript-eslint monorepo to v4.15.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:46:18 +01:00
Renovate Bot
4a1c8ec7a3 Update dependency typescript to v4.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:36:10 +01:00
Renovate Bot
71c57d504d Update dependency ts-loader to v8.0.17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:35:40 +01:00
Renovate Bot
b9cd4f3e3d Update dependency react-use to v17.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:35:16 +01:00
Renovate Bot
ff439797c2 Update dependency react-i18next to v11.8.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:34:50 +01:00
Renovate Bot
068e35559e Update dependency highlight.js to v10.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:34:30 +01:00
Renovate Bot
74c9f3c04e Update dependency eslint-plugin-promise to v4.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:33:42 +01:00
Renovate Bot
e621c4c5bc Update dependency @fontsource/source-sans-pro to v4.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-13 16:33:21 +01: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
ae38ab007a Don't show i18n messages in production mode
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-02-10 13:58:04 +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
Renovate Bot
4b2e2a7c93 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 12:23:43 +01:00
Philip Molares
d1e16fbfcc README: Fix production mode instructions
Changed the production mode instructions as there is no `yarn build` anymore

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-07 16:38:41 +01:00
Renovate Bot
c1dd3eb4e1 Update dependency @craco/craco to v6.1.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 21:38:26 +01:00
Renovate Bot
f433431a7c Update dependency @fontsource/source-sans-pro to v4.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 20:53:56 +01:00
Renovate Bot
db7aed44c2 Update dependency markdown-it-anchor to v7.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 17:05:21 +01:00
Renovate Bot
812fe6bf99 Update dependency react-use to v17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:58:19 +01:00
Renovate Bot
5fa08868cc Update definitelyTyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:54:25 +01:00
Renovate Bot
73595d4586 Update typescript-eslint monorepo to v4.14.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:54:01 +01:00
Renovate Bot
250e02c8d3 Update dependency cypress to v6.4.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:49:09 +01:00
Renovate Bot
1d9e8849b4 Update dependency vega-embed to v6.15.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:46:20 +01:00
Renovate Bot
602863ac5e Update dependency ts-loader to v8.0.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:45:40 +01:00
Renovate Bot
3cef201156 Update dependency react-scripts to v4.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:44:58 +01:00
Renovate Bot
62eb7234f3 Update dependency i18next to v19.8.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:43:57 +01:00
Renovate Bot
309bb0a375 Update dependency browserstack-cypress-cli to v1.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:43:17 +01:00
Renovate Bot
f5b828dac1 Update dependency abcjs to v6.0.0-beta.27
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:42:33 +01:00
Renovate Bot
f5a62e803a Update JS test packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-06 12:41:22 +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
Renovate Bot
bdf8110676 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 12:21:11 +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
Tilman Vatteroth
c862ca341f
Use currentColor in SVGs (#997)
If you include a SVG directly into the DOM (what we do here), then currentColor is the current text color. This is way more convenient than changing the SVG file.
This doesn't work if you load the SVG with an IMG-Tag.

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-31 19:42:31 +01:00
Renovate Bot
dece87b7b8 Update dependency react-use to v16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-30 23:29:47 +01:00
renovate[bot]
82ed298c81
Update dependency @craco/craco to v6.1.0 (#988)
* Update dependency @craco/craco to v6.1.0

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Adjust craco config

craco 6.1.0 introduced a new syntax for adding webpack plugins.
This commit adjusts our craco config.

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>
2021-01-30 12:31:34 +00:00
Renovate Bot
e901770d09 Update dependency i18next-http-backend to v1.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-30 13:31:29 +01:00
Renovate Bot
7a8986ec95 Update markmap
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-30 13:10:41 +01:00
Tilman Vatteroth
9abd804854 Include markmap-common in renovate group
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-30 12:48:14 +01:00
Renovate Bot
cc52a32197 Update dependency @types/codemirror to v0.0.107
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-30 11:47:05 +00:00
Renovate Bot
01ec3a0926 Update typescript-eslint monorepo to v4.14.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-30 12:46:31 +01:00