arc.codes
arc.codes copied to clipboard
Bump arcdown from 1.0.1 to 2.0.0
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
classexport.import { Arcdown } from 'arcdown'Added
Arcdownclass interfacemarkdownItAnchorandmarkdownItToc*see "Changed" belowRemoved
defaultfunction as render interfacemarkdown-it-toc-and-anchor*see "Changed" belowChanged
- class-based interfaces
- new table of contents plugin
markdownItTocAndAnchorretired- use
markdown-it-anchorasmarkdownItAnchorfor heading anchor creation- use
markdown-it-toc-done-rightasmarkdownItTocfor table of contents- lowercase
arcdownchanged to ArcdownFixed
- 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
javascriptlanguage for syntax highlighting:```javascript 12:42;foo-bar
Commits
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)