arc.codes icon indicating copy to clipboard operation
arc.codes copied to clipboard

Bump arcdown from 1.0.1 to 2.0.0

Open dependabot[bot] opened this issue 3 years ago • 0 comments

Bumps arcdown from 1.0.1 to 2.0.0.

Changelog

Sourced from arcdown's changelog.

[2.0.0] 2022-08-03

Large-ish refactor to use a named class export.

import { Arcdown } from 'arcdown'

Added

  • Arcdown class interface
  • markdownItAnchor and markdownItToc *see "Changed" below

Removed

  • default function as render interface
  • markdown-it-toc-and-anchor *see "Changed" below

Changed

  • class-based interfaces
  • new table of contents plugin
    • markdownItTocAndAnchor retired
    • use markdown-it-anchor as markdownItAnchor for heading anchor creation
    • use markdown-it-toc-done-right as markdownItToc for table of contents
  • lowercase arcdown changed to Arcdown

Fixed

  • hljs plugin application in subsequent render calls
    • caused by instantiating hljs options on each render, solved with class structures
  • handle codefence language specifiers with trailing spaces and meta info
    • this correctly loads the javascript language for syntax highlighting:
```javascript 12:42;foo-bar 
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Aug 08 '22 08:08 dependabot[bot]