mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 14:55:50 +01:00
use marked instead of commonmark to convert MD to HTML, which supports e.g. tables, closes #2026
This commit is contained in:
@@ -324,6 +324,7 @@ function register(app) {
|
||||
apiRoute(PST, '/api/delete-notes-preview', notesApiRoute.getDeleteNotesPreview);
|
||||
route(GET, '/api/fonts', [auth.checkApiAuthOrElectron], fontsRoute.getFontCss);
|
||||
apiRoute(GET, '/api/other/icon-usage', otherRoute.getIconUsage);
|
||||
apiRoute(PST, '/api/other/render-markdown', otherRoute.renderMarkdown);
|
||||
apiRoute(GET, '/api/recent-changes/:ancestorNoteId', recentChangesApiRoute.getRecentChanges);
|
||||
apiRoute(GET, '/api/edited-notes/:date', revisionsApiRoute.getEditedNotesOnDate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user