diff --git a/.markdownlint.json b/.markdownlint.json index 4ea32266..83951752 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -7,12 +7,13 @@ }, "MD013": { "code_blocks": false, - "line_length": 120, + "line_length": 150, "tables": false }, "MD033": false, "MD003": false, "MD034": false, "MD024": false, - "MD022": false + "MD022": false, + "MD023": false } diff --git a/.vscode/settings.json b/.vscode/settings.json index 6d2cb901..7cbd388d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,6 +10,13 @@ "[markdown]": { "editor.wordWrap": "on", "editor.defaultFormatter": "DavidAnson.vscode-markdownlint", - "editor.formatOnSave": true + "editor.formatOnSave": true, + "editor.suggest.showWords": false, + "editor.quickSuggestions": { + "other": "on", + "comments": "off", + "strings": "off" + }, + "editor.tabCompletion": "onlySnippets" } } diff --git a/.vscode/snippets.code-snippets b/.vscode/snippets.code-snippets new file mode 100644 index 00000000..e39e12d0 --- /dev/null +++ b/.vscode/snippets.code-snippets @@ -0,0 +1,24 @@ +{ + // Place your zksync-docs workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and + // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope + // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is + // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: + // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. + // Placeholders with the same ids are connected. + // Example: + // "Print to console": { + // "scope": "javascript,typescript", + // "prefix": "log", + // "body": [ + // "console.log('$1');", + // "$2" + // ], + // "description": "Log output to console" + // } + "External Link": { + "scope": "markdown", + "prefix": "@exlink", + "body": [":external-link{text=\"$1\" href=\"$2\"}$0"], + "description": "External link component", + }, +} diff --git a/app.config.ts b/app.config.ts index a6eb379d..79fc0f17 100644 --- a/app.config.ts +++ b/app.config.ts @@ -36,9 +36,11 @@ export default defineAppConfig({ }, }, }, - 'navigation-accordion': { - button: { - label: 'text-sm/6 font-semibold text-left text-pretty', + navigation: { + accordion: { + button: { + label: 'text-left text-pretty', + }, }, }, }, diff --git a/components/content/DisplayPartial.vue b/components/content/DisplayPartial.vue index 3fb99ffd..7eead62f 100644 --- a/components/content/DisplayPartial.vue +++ b/components/content/DisplayPartial.vue @@ -1,15 +1,15 @@