Update dependency @dprint/markdown to v0.23.3 - #168
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
renovate
Bot
force-pushed
the
renovate/dprint-markdown-0.x
branch
from
August 27, 2026 13:05
c3caae3 to
a284409
Compare
renovate
Bot
force-pushed
the
renovate/dprint-markdown-0.x
branch
from
August 29, 2026 16:30
a284409 to
f3695f0
Compare
renovate
Bot
force-pushed
the
renovate/dprint-markdown-0.x
branch
from
September 3, 2026 23:06
f3695f0 to
2a4b04b
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.
This PR contains the following updates:
0.22.1→0.23.3Release Notes
dprint/dprint-plugin-markdown (@dprint/markdown)
v0.23.3Compare Source
Changes
Install
Install and setup dprint.
Then in your project's dprint configuration file:
"plugins"array or rundprint config add markdown."markdown"configuration property if desired.{ // ...etc... "markdown": { // markdown config goes here }, "plugins": [ "npm:@dprint/markdown@0.23.3" ] }JS Formatting API
v0.23.2Compare Source
Changes
Install
Install and setup dprint.
Then in your project's dprint configuration file:
"plugins"array or rundprint config add markdown."markdown"configuration property if desired.{ // ...etc... "markdown": { // markdown config goes here }, "plugins": [ "npm:@dprint/markdown@0.23.2" ] }JS Formatting API
v0.23.1Compare Source
Changes
_emphasis beside punctuation that is not ascii (#263)Install
Install and setup dprint.
Then in your project's dprint configuration file:
"plugins"array or rundprint config add markdown."markdown"configuration property if desired.{ // ...etc... "markdown": { // markdown config goes here }, "plugins": [ "npm:@dprint/markdown@0.23.1" ] }JS Formatting API
v0.23.0Compare Source
Changes
pulldown-cmark. The new parser keeps what a formatter needs and a renderer throws away — exact delimiters, indentation, line breaks, link reference definitions — which is what makes most of the fixes below possible.html.*options to control it, includinghtml.skipFormatto turn it back off.heading.,list.,codeBlock., andtable.(#225, #250, #260).Performance
Measured over a corpus of 3,532 real-world markdown files (21.8 MB), code block formatting disabled, best of three runs on the same machine:
That is with 0.23.0 doing strictly more work, since it also parses and formats every piece of html in those files, which 0.22.1 didn't do at all. 0.22.1 also failed outright on 22 of the 3,532 files; 0.23.0 formats all of them (#254).
Breaking changes
Options moved under namespaces
The old names still work, and
dprint config updatewill now rewrite them for you (#225, #250, #260):headingKindheading.kindunorderedListKindlist.unorderedMarkerlistIndentKindlist.indentKindThe old names will continue to work for the foreseeable future.
Html
html.skipFormat(defaultfalse) — leave the html written in the file as it was rather than laying out its tags and their content (#255).html.useTabs(default: the globaluseTabs, elsefalse) andhtml.indentWidth(default: the globalindentWidth, else2) — how the html inside the file is indented (#255).html.selfClosingSpace(defaulttrue) — whether to write a space before the/>of a self-closing tag, so<br />rather than<br/>(#255).html.preferSingleLine(defaultfalse) — whether to pull an element's content, or a tag's attributes, onto one line when they fit. Off by default, so content written across lines stays across lines and is only reindented (#259).New configuration
Text wrapping
textWrap: "sentence"(#239) — one sentence per line, ignoring the line width. This is the mechanical half of semantic line breaks: a break goes where a sentence ends and nowhere else, so a diff stays scoped to the sentences you actually edited.textWrap: "maintainAndWrap"(#251) — keeps the line breaks that were written but breaks up any line running past the line width. No line is ever pulled up into the one above it.wrapUnspacedScripts(defaultfalse) — whether to break a line between the characters of a script written without spaces between its words, such as Chinese or Japanese. Off by default, because Chromium and WebKit render such a break as a space (Firefox doesn't), so a break the formatter wrote would show up in the rendered text for most readers (#231, #258).Blank lines
maxBlankLines(default1) — the maximum number of consecutive blank lines to keep between blocks (#236).heading.blankLinesAbove(default: unset) — the number of blank lines to write above a heading, written even wheremaxBlankLinesis lower. A heading drawn up against the block above it inside a list is left there, which keeps the list tight (#249).Hard breaks
hardBreakKind(default"backslash") — write hard line breaks as a trailing backslash or as two trailing spaces ("doubleSpace"). Note that plenty of tools strip trailing whitespace, which would silently delete double-space breaks. Those two spaces don't count toward the line width (#217, #229).Code blocks
codeBlock.skipFormat(defaultfalse) — leave the code inside code blocks as it was written (#226).codeBlock.raiseSyntaxErrors(defaultfalse) — fail the file when the plugin formatting a code block reports an error, which is what it does when the code doesn't parse, rather than leaving that code alone (#252).codeBlock.useTabsandcodeBlock.indentWidth(default: unset) — override those settings on the plugin that formats the code within a code block instead of leaving them to that plugin (#232, #235).codeBlock.preserveIndentation(defaultfalse) — keep an indented code block's indentation rather than unindenting it (#175, #225).codeBlock.preserveBlankLines(defaultfalse) — keep the leading blank lines inside a fenced code block (#204, #225).Tables
table.skipFormat(defaultfalse) — leave a table's rows as they were written instead of aligning their cells into columns (#247).table.cellPadding(default"align") —"align"pads every cell out to its column's width, so editing one cell can rewrite every row;"space"writes a single space either side of the text;"none"writes no padding at all (#248).Fixes
Link reference definitions
Block quotes
Headings
Hard breaks and line wrapping
Code spans and code blocks
cpptag maps to the.cppextension (#214).Other
Install
Install and setup dprint.
Then in your project's dprint configuration file:
"plugins"array or rundprint config add markdown."markdown"configuration property if desired.{ // ...etc... "markdown": { // markdown config goes here }, "plugins": [ "npm:@dprint/markdown@0.23.0" ] }JS Formatting API
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.