Skip to content

0.23.3

Choose a tag to compare

@github-actions github-actions released this 03 Sep 16:58
· 10 commits to main since this release

Changes

  • fix: bound the search for an emphasis opener by where a closer was rather than its index (#274)
  • fix: don't write three bullets of one character alone on a line, which read as a thematic break (#277)
  • fix: end a raw text html block at the close tag of any raw text element (#275)
  • fix: escape a backslash written before the whitespace that ends a line (#276)
  • fix: keep a line that only reads as text because of where it is from being moved where it starts a block (#279)
  • fix: only read a destination whose parentheses are balanced (#272)
  • fix: read a setext underline as one before taking it as the destination of a definition (#273)
  • fix: read the decorations of a block back out of what it is written as (#280)
  • fix: write a code span with backticks that no run written before it would pair with (#278)
  • fix: write a decoration read out of a longer delimiter run with the configured kind (#269)
  • fix: write emphasis around strong as one run of the configured character (#270)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array or run dprint config add markdown.
  2. Add a "markdown" configuration property if desired.
    {
      // ...etc...
      "markdown": {
        // markdown config goes here
      },
      "plugins": [
        "npm:@dprint/markdown@0.23.3"
      ]
    }

JS Formatting API