docs(config): drop client-side keys and refresh per-wiki reference
Remove nested_syntaxes, maxhi and diary_start_week_day from the config reference (block, tables and key lists) since the server no longer consumes them, and note that language-tagged code fences are highlighted automatically with no nested_syntaxes key. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -25,7 +25,9 @@ results.
|
||||
|
||||
- Goto-definition (follow wikilinks), backlinks, hover preview,
|
||||
completion on `[[`, document outline, workspace symbol search.
|
||||
- Semantic-token highlighting (no syntax-file fallback needed).
|
||||
- Semantic-token highlighting (no syntax-file fallback needed). Code fences
|
||||
tagged with a language (`{{{python … }}}`) get that language's syntax
|
||||
automatically — no `nested_syntaxes` config needed.
|
||||
- Broken-link diagnostics and an orphan-page finder.
|
||||
- Folding: server-driven `foldingRange` by default, regex fallback when
|
||||
the server isn't ready.
|
||||
@@ -217,10 +219,6 @@ require('nuwiki').setup({
|
||||
-- Checkbox progression characters: " .oOX" by default.
|
||||
listsyms = ' .oOX',
|
||||
listsyms_propagate = true,
|
||||
-- Inline highlighting: 6 heading levels by default.
|
||||
maxhi = 1,
|
||||
-- Embed other syntaxes inside `{{{lang …}}}` fences.
|
||||
nested_syntaxes = {},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -305,16 +303,13 @@ Each is a boolean. All default to `true` except `mouse`.
|
||||
| `diary_rel_path` | string | `'diary'` | path relative to `root` |
|
||||
| `diary_index` | string | `'diary'` | diary index page stem |
|
||||
| `diary_frequency` | string | `'daily'` | `'daily'` \| `'weekly'` \| `'monthly'` \| `'yearly'` |
|
||||
| `diary_start_week_day` | string | `'monday'` | weekday name |
|
||||
| `diary_caption_level` | int | `1` | `0`–`6` |
|
||||
| `diary_caption_level` | int | `1` | `1`–`6` (level of the index caption) |
|
||||
| `diary_sort` | string | `'desc'` | `'desc'` \| `'asc'` |
|
||||
| `diary_header` | string | `'Diary'` | any heading text |
|
||||
| `maxhi` | int (bool) | `1` | `0` \| `1` |
|
||||
| `listsyms` | string | `' .oOX'` | checkbox progression chars |
|
||||
| `listsyms_propagate` | bool | `true` | `true` \| `false` |
|
||||
| `list_margin` | int | `-1` | `-1` (auto) or `≥ 0` |
|
||||
| `links_space_char` | string | `' '` | char that replaces spaces in synthesised link paths |
|
||||
| `nested_syntaxes` | table | `{}` | `{ ['fence-lang'] = 'vim-syntax', … }` |
|
||||
| `auto_toc` | bool | `false` | `true` \| `false` |
|
||||
|
||||
#### HTML export keys (per-wiki)
|
||||
|
||||
Reference in New Issue
Block a user