Repository navigation
feat(markdown): make embedded lists, tables, and yamlBlocks opt-in by default - #268
Merged
Merged
Conversation
mindsocket
force-pushed
the
feat/embedded-defaults-opt-in
branch
from
November 30, 2026 10:24
f99086d to
12fece7
Compare
mindsocket
force-pushed
the
feat/embedded-defaults-opt-in
branch
from
November 30, 2026 10:29
12fece7 to
754fb09
Compare
…mas, and skill reference
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #265
Summary
Makes implicit extraction of embedded lists, tables, and fenced
yamlblocks opt-in (falseby default) inplugins.markdown.embedded:resolveEmbeddedParseSpecinsrc/plugins/markdown/parse-embedded.tsnow defaultslists,tables, andyamlBlockstofalse. Ordinary bullet lists, tables, and fencedyamlcode blocks stay as prose content unless explicitly enabled underplugins.markdown.embedded.docs/.sctx/config.json: Removed the now-redundant"*": { "lists": false, "tables": false, "yamlBlocks": false }entry.docs/config.md(default false), updatedtests/plugins/markdown/parse-embedded-config.test.tsto verify default-off and opt-inyamlBlocks: true, and updated existing list/table/YAML-block tests to opt in explicitly. Added generatedhook-test/fixtures/config.jsonto.gitignore.space_on_a_pageevaluation (measured:)Retaining
space_on_a_page/ost_on_a_pagefor now rather than retiring it in this PR. Auditing all usages shows two thingsplugins.markdown.embeddeddoes not yet replace on its own:space.pathpointing to a.mdfile): The file acts as a container rather than a root node, mapping H1..H5 automatically tohierarchy.levels[0..4]without per-typeembeddedconfig.H1→H3throws).Verification
sctx --config docs/.sctx/config.json validate docs(131 valid nodes, 0 errors/warnings)bun run lint,bun run typecheck,bun run buildbun run test(977 pass, 15 skip, 0 fail)lefthookpre-push (check-plugin-version,pushed-treeincluding 57 hook tests,review-check)