debug(typst): force arg keys bright red to confirm token pipeline
Build and Deploy Verso / deploy (push) Successful in 10m0s
Build and Deploy Verso / deploy (push) Successful in 10m0s
Adds { tag: t.attributeName, color: '#cc0000', fontWeight: 'bold' } to
typstHighlightStyle so named arg keys are unmistakably red if the
CodeArgKey token is reaching the highlighter. Will be removed once
the pipeline is confirmed working and replaced with per-theme colors.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -101,6 +101,8 @@ const typstHighlightStyle = HighlightStyle.define([
|
||||
{ tag: t.heading, fontWeight: 'bold' },
|
||||
{ tag: t.strong, fontWeight: 'bold' },
|
||||
{ tag: t.emphasis, fontStyle: 'italic' },
|
||||
// Diagnostic: force arg keys bright red so we can confirm the token reaches the highlighter.
|
||||
{ tag: t.attributeName, color: '#cc0000', fontWeight: 'bold' },
|
||||
])
|
||||
|
||||
export const typst = () => {
|
||||
|
||||
Reference in New Issue
Block a user