[Feature] Add optional transition text between mdsh invocation and output#100
Open
mwittie wants to merge 2 commits intozimbatm:mainfrom
Open
[Feature] Add optional transition text between mdsh invocation and output#100mwittie wants to merge 2 commits intozimbatm:mainfrom
mdsh invocation and output#100mwittie wants to merge 2 commits intozimbatm:mainfrom
Conversation
Move transition text (e.g. `:: which outputs:`) from a separate `<!-- :: text -->` comment line into the mdsh invocation itself, supported across all invocation types: code blocks, inline code, comments, and links. The old comment-based syntax is kept as a fallback for backward compatibility. (cherry picked from commit 90e7d21)
* Reorganize transition tests under existing execute sections * Add instructions for transition text in the mdsh invocation and in a comment following the invocation (cherry picked from commit 8fc1434)
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.
To provide a more natural reading flow in the rendered markdown, I'd like
mdshto allow me to specify transition text placed between the invocation and the output. For example:A transition text specification ":: text" does not render in the
mdshinvocation, but shows up at the top of the renderedmdshoutput. Placing the transition text after<!-- BEGIN mdsh -->makes the operation idempotent. Consult the updated spec and readme files for more transition text placement options.