Add button for code blocks
This commit is contained in:
@@ -145,6 +145,14 @@ Key settings:
|
||||
|
||||
## Features and usage
|
||||
|
||||
### 0) Editor toolbar: Code block button
|
||||
|
||||
The plugin adds a custom button to the DokuWiki editor toolbar for quickly inserting `<code>` blocks.
|
||||
|
||||
When editing a page, click the code block button (angle brackets icon `<>`) in the toolbar to wrap selected text in `<code></code>` tags, or to insert an empty code block at the cursor position.
|
||||
|
||||
This complements DokuWiki's built-in monospace formatting (`''`) by providing quick access to HTML code blocks.
|
||||
|
||||
### 1) List files by glob pattern
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user