0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-28 07:58:10 +00:00

default cm5 theme back

This commit is contained in:
Víctor Losada Hernández
2026-03-27 13:13:36 +01:00
parent c0b3a1940f
commit ad9f4773b0
6 changed files with 111 additions and 5 deletions

View File

@@ -228,7 +228,8 @@ export function tokenizeCustomMarkdown(text) {
}
export const customHighlightStyle = HighlightStyle.define([
{ tag: tags.heading1, color: '#000', fontWeight: '700' },
{ tag: tags.heading, class: 'cm-header' },
{ tag: tags.heading1, class: 'cm-header cm-header-1' },
{ tag: tags.keyword, color: '#07a' }, // example for your markdown headings
{ tag: customTags.pageLine, color: '#f0a' },
{ tag: customTags.snippetLine, class: 'cm-snippetLine', color: '#0af' },