Skip to content

highlighting in markdown with tree-sitter #68

@dfroger

Description

@dfroger

Hi!

How may I reuse the highlight of this plugin in a markdown document to get highlighting with tree sitter?

For example:

This a Markdown document. A code block of 'flog' is highlighted:

```flog
• 2025-03-19 11:46:32 -0400 [665b16a] {Roger Bongers} (HEAD -> master, origin/master, origin/HEAD) Document escape behaviour
• 2025-02-27 09:24:27 -0500 [77c86cb] {Roger Bongers} Handle file-based git dirs better
• 2025-02-15 14:50:00 -0500 [5bd9c58] {Roger Bongers} Fix problem finding root when using "repo" command
• 2025-02-15 13:48:38 -0500 [828d20e] {Roger Bongers} Improve highlight merge comments
• 2025-02-15 13:43:51 -0500 [859f18c] {Roger Bongers} Fix moved parent highlight logic
• 2025-01-30 13:25:52 -0500 [c9666dc] {Roger Bongers} Fix typo: backen > backend
• 2024-12-26 06:34:33 -0500 [74e52ba] {Roger Bongers} Fix running Floggit with escaped args
• 2024-11-19 04:57:25 -0500 [be06153] {Roger Bongers} Improve relative date syntax matching
• 2024-10-26 11:41:46 -0400 [afbbe41] {rbong} Fix systemlist carriage return on Windows
• 2024-09-25 14:38:52 -0400 [6f80c1f] {rbong} (origin/dev) Fix off-by-one moved parent highlight target
• 2024-09-25 14:37:21 -0400 [8fa598b] {rbong} Remove unused highlight call
• 2024-09-25 11:01:40 -0400 [3aca960] {rbong} Fix col to virtcol conversion in tests
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions