Skip to content

feat(parser,render): add inline styles and standalone block elements#468

Open
Jvcon wants to merge 2 commits intoerikjuhani:mainfrom
Jvcon:main
Open

feat(parser,render): add inline styles and standalone block elements#468
Jvcon wants to merge 2 commits intoerikjuhani:mainfrom
Jvcon:main

Conversation

@Jvcon
Copy link
Copy Markdown

@Jvcon Jvcon commented Apr 17, 2026

  • Add inline style tracking via style_stack
  • Implement style-to-modifier mapping in text_to_spans
  • Add rich_text_to_spans helper and fix paragraph branch
  • Fix item and task branches, add wrap_styled_spans
  • Add Rule, InlineMath, DisplayMath to parser and AST
  • Add InlineMath arm to rich_text_to_spans
  • Add rule() and display_math() render functions

- Add inline style tracking via style_stack
- Implement style-to-modifier mapping in text_to_spans
- Add rich_text_to_spans helper and fix paragraph branch
- Fix item and task branches, add wrap_styled_spans
- Add Rule, InlineMath, DisplayMath to parser and AST
- Add InlineMath arm to rich_text_to_spans
- Add rule() and display_math() render functions
@Jvcon Jvcon requested a review from erikjuhani as a code owner April 17, 2026 16:46
…ting

- Extract lang from fenced code blocks in basalt-core
- Define SyntectContext, add to AppState, thread through NoteEditorState/VirtualDocument
- Implement syntect per-token syntax highlighting in code blocks
- Add syntect 5.3.0 dependency
- Fix: CR-01 truncate lang label to avoid multibyte panic
- Fix: WR-01/02/03 rendering correctness in code blocks
- Fix: D-12 navigation freeze, D-13 cursor highlight color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant