Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 06dcbb8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
markoSyntax auto used the syntax of the first tag for the whole file. It now keeps the syntax each tag was written in, so a template can mix them. An inline HTML tag beside text in a concise tag stays in the text instead of becoming a concise child. Co-Authored-By: Claude <noreply@anthropic.com>
Concise text is printed with backticks instead of --, leaving off the optional
closing backticks. Leading and trailing whitespace is written between the
backticks instead of as ${" "}, and trailing whitespace on a single line is kept
by closing backticks. Text on several lines beside sibling tags is closed by a
line of the same backticks, as is a comment after text. The opening backticks
are longer than any run of backticks in the text.
Co-Authored-By: Claude <noreply@anthropic.com>
LuLaValva
force-pushed
the
llavalva-M451495HWX-marko-concise-vxgunp
branch
from
October 13, 2026 17:51
9273e86 to
06dcbb8
Compare
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.
Teaches the formatter about backtick text in concise mode (htmljs-parser#260), and makes
markoSyntax: "auto"keep the syntax each tag was written in.Two commits:
autokeeps each tag's syntax. Until nowautolooked at the first tag and formatted the whole file in that syntax. Each tag now keeps its own, so a template can mix them, and an HTML tag beside text in a concise tag stays in the text, likep `concise mode is <em>sort of</em> concise`, instead of turning into a concise child. This is the part to look at for behavior changes: files that mixed syntaxes used to be rewritten into one.--. Concise text is printed asdiv `helloand the optional closing backticks are left off. Leading and trailing whitespace is written between the backticks instead of as${" "}, with closing backticks added only where trailing whitespace needs them. Longer text, and text beside sibling tags, becomes a block closed by a line of the same backticks. The opening fence is always longer than any backtick run in the text.The second commit needs the parser changes, so this can't merge until
htmljs-parseris released and its floor is raised here.Generated with Claude Code