0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-22 04:58:40 +00:00
This commit is contained in:
Víctor Losada Hernández
2026-05-13 12:09:43 +02:00
parent df4c59cbd6
commit c66310fbe7
@@ -316,7 +316,6 @@ export const customHighlightStyle = HighlightStyle.define([
]); ]);
function getUrl(node, doc) { function getUrl(node, doc) {
let url = null; let url = null;
@@ -333,6 +332,7 @@ function getUrl(node, doc) {
return url; return url;
} }
export function customHighlightPlugin(renderer, tab) { export function customHighlightPlugin(renderer, tab) {
//this function takes the custom tokens created in the tokenize function in customhighlight files //this function takes the custom tokens created in the tokenize function in customhighlight files
//takes the tokens defined by that function and assigns classes to them //takes the tokens defined by that function and assigns classes to them