Skip to content

Commit

Permalink
factor out inline writes
Browse files Browse the repository at this point in the history
Move the handling of inlines from `fmt_md.rs` to a separate struct.

This makes it easier to do json output (#74), since I want to render
inlines via just the markdown text (not a JSON breakdown of the various
spans).

Resolves #87. That was originally written as a performance improvement,
but I'm doing it now for the JSON (not performance).
  • Loading branch information
yshavit authored Jul 4, 2024
1 parent 3517d71 commit 15bab5b
Show file tree
Hide file tree
Showing 5 changed files with 630 additions and 457 deletions.
Loading

0 comments on commit 15bab5b

Please sign in to comment.