mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add README documentation for getVersion, leave promise/extendConfig undocumented (unsupported).
This commit is contained in:
parent
8da43dd246
commit
b404c8bf16
3 changed files with 30 additions and 1 deletions
|
|
@ -1,10 +1,13 @@
|
|||
// @ts-check
|
||||
|
||||
import { applyFixes } from "markdownlint";
|
||||
import { applyFixes, getVersion } from "markdownlint";
|
||||
import { lint as lintAsync } from "markdownlint/async";
|
||||
import { lint as lintPromise } from "markdownlint/promise";
|
||||
import { lint as lintSync } from "markdownlint/sync";
|
||||
|
||||
// Displays the library version
|
||||
console.log(getVersion());
|
||||
|
||||
const options = {
|
||||
"files": [ "good.md", "bad.md" ],
|
||||
"strings": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue