mirror of
https://github.com/requarks/wiki.git
synced 2026-10-12 05:54:49 -05:00
fix: asciidoc sectnums + twemoji version mismatch
This commit is contained in:
3 files changed
+22
-8
No files matched your search
Generated
+11
-5
@@ -12,7 +12,7 @@
|
||||
"@excalidraw/excalidraw": "0.18.1",
|
||||
"@simplewebauthn/browser": "14.0.0",
|
||||
"@tailwindcss/vite": "4.3.3",
|
||||
"@twemoji/api": "17.0.3",
|
||||
"@twemoji/api": "17.0.2",
|
||||
"@xterm/addon-fit": "0.11.0",
|
||||
"@xterm/xterm": "6.0.0",
|
||||
"@zip.js/zip.js": "2.22.0",
|
||||
@@ -3484,17 +3484,23 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@twemoji/api": {
|
||||
"version": "17.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@twemoji/api/-/api-17.0.3.tgz",
|
||||
"integrity": "sha512-iwERjxY0QgPGVwT6b1OKG0Oa9nIfHhJw+Ij1TapTBMKTvVCU6qdXPXX/XKwxKx5QZIJW5GwELUCtw8wlaIQ2ug==",
|
||||
"version": "17.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@twemoji/api/-/api-17.0.2.tgz",
|
||||
"integrity": "sha512-5xIdBcFLpRW4goXNdNNz497TzMHF2a76yElEaqISxVPj+KpJB82KuXHczfjhhTCsPaP1lAhM3qPtvAhMG7e71A==",
|
||||
"license": "MIT AND CC-BY-4.0",
|
||||
"dependencies": {
|
||||
"@twemoji/parser": "17.0.2",
|
||||
"@twemoji/parser": "17.0.1",
|
||||
"fs-extra": "^8.0.1",
|
||||
"jsonfile": "^5.0.0",
|
||||
"universalify": "^0.1.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@twemoji/api/node_modules/@twemoji/parser": {
|
||||
"version": "17.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@twemoji/parser/-/parser-17.0.1.tgz",
|
||||
"integrity": "sha512-Uiq5sq1Wx91Y6C0DczMlu4Gj4nC/0z8UIhT7S53hi/JATaS1oLM5jXygjot7STtyVoIagfnpsBCWaNy3ayfyFw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@twemoji/parser": {
|
||||
"version": "17.0.2",
|
||||
"license": "MIT"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"@excalidraw/excalidraw": "0.18.1",
|
||||
"@simplewebauthn/browser": "14.0.0",
|
||||
"@tailwindcss/vite": "4.3.3",
|
||||
"@twemoji/api": "17.0.3",
|
||||
"@twemoji/api": "17.0.2",
|
||||
"@xterm/addon-fit": "0.11.0",
|
||||
"@xterm/xterm": "6.0.0",
|
||||
"@zip.js/zip.js": "2.22.0",
|
||||
|
||||
@@ -110,10 +110,18 @@ const LOCKED_ATTRIBUTES = {
|
||||
* Attributes a page MAY set, with what it gets when it does not.
|
||||
*
|
||||
* Trailing `@`, so a document that sets one wins. These only change how a page reads.
|
||||
*
|
||||
* To default one to UNSET without locking it, the value is `false` and never `null`: Asciidoctor
|
||||
* reads `null` as a hard unset that no attribute entry in the document can undo, which is
|
||||
* `LOCKED_ATTRIBUTES`' notation and not this table's.
|
||||
*/
|
||||
const DEFAULT_ATTRIBUTES = {
|
||||
// -> Off, as markdown has no section numbering either
|
||||
sectnums: null,
|
||||
/*
|
||||
Off, as markdown has no section numbering either -- but a page that writes `:sectnums:` gets it.
|
||||
The number is part of the heading's text, so the sidebar's contents (`anchorHeadings`) carries it
|
||||
too, while the heading's id is derived from the title alone and stays the same either way.
|
||||
*/
|
||||
sectnums: false,
|
||||
idprefix: '@',
|
||||
idseparator: '-@',
|
||||
tabsize: '2@'
|
||||
|
||||
Reference in new issue
Block a user