Skip to content

Commit 8b385bc

Browse files
committed
Merge branch 'beads/7co9-fork-framing-cleanup'
Cleans up tree-sitter-qmd to remove stale 'fork of tree-sitter-markdown' framing (bd-7co9) and drops dead multi-language packaging scaffolding (C/Go/Node/Python/Swift) inherited from the original upstream fork. Cargo include-list, build.rs, and active workflows referenced none of the removed files.
2 parents ff64700 + 64a7865 commit 8b385bc

39 files changed

Lines changed: 25 additions & 1312 deletions

crates/tree-sitter-qmd/CMakeLists.txt

Lines changed: 0 additions & 65 deletions
This file was deleted.

crates/tree-sitter-qmd/CONTRIBUTING.md

Lines changed: 0 additions & 99 deletions
This file was deleted.

crates/tree-sitter-qmd/Makefile

Lines changed: 0 additions & 5 deletions
This file was deleted.

crates/tree-sitter-qmd/Package.resolved

Lines changed: 0 additions & 16 deletions
This file was deleted.

crates/tree-sitter-qmd/Package.swift

Lines changed: 0 additions & 55 deletions
This file was deleted.

crates/tree-sitter-qmd/README.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
# tree-sitter-qmd
22

3-
`tree-sitter-qmd` is a fork of [`tree-sitter-markdown`](https://github.com/tree-sitter-grammars/tree-sitter-markdown).
4-
It has a number of non-standard syntax that are used by Quarto in .qmd files specifically.
5-
6-
The original `tree-sitter-markdown` grammar was written by [Matthias Deiml](https://github.com/MDeiml).
7-
8-
`tree-sitter-qmd` is an internal package written entirely to support `quarto-markdown-pandoc`.
9-
10-
For the original tree-sitter-md readme, see [README.tree-sitter-md.md].
11-
12-
For more information on the syntax supported by quarto-markdown, see the top-level docs folder, and specifically the [syntax-nodes.md file](../../docs/syntax-notes.md).
3+
`tree-sitter-qmd` is the tree-sitter grammar for Quarto Markdown
4+
(`.qmd`). It is an internal Quarto-Rust crate, written entirely to
5+
support `quarto-markdown-pandoc`, and is not published outside this
6+
workspace.
7+
8+
The grammar was originally derived from
9+
[MDeiml's `tree-sitter-markdown`](https://github.com/MDeiml/tree-sitter-markdown)
10+
(MIT-licensed — see `LICENSE` for the original copyright notice). It
11+
has since been developed independently and is no longer kept in sync
12+
with upstream; report Quarto-specific issues against this repo, not
13+
the upstream project.
14+
15+
For more information on the syntax supported by Quarto Markdown,
16+
see the top-level docs folder, and specifically
17+
[`dev-docs/syntax-notes.md`](../../dev-docs/syntax-notes.md).
1318

1419
## Architecture
1520

16-
This crate uses a **unified grammar** (`tree-sitter-markdown/grammar.js`) that parses both block structure
17-
and inline content in a single pass, producing one syntax tree with all nodes (block and inline).
18-
19-
**Note**: The `tree-sitter-markdown-inline/` directory is archived and no longer used. See
20-
`tree-sitter-markdown-inline/ARCHIVED.md` for details.
21+
This crate uses a **unified grammar**
22+
(`tree-sitter-markdown/grammar.js`) that parses both block structure
23+
and inline content in a single pass, producing one syntax tree with
24+
all nodes (block and inline).

crates/tree-sitter-qmd/README.tree-sitter-md.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

crates/tree-sitter-qmd/binding.gyp

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)