mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-27 19:42:50 +00:00
![Max Schillinger](/assets/img/avatar_default.png)
* Markdown: Add code block button and enable shortcut (ctrl-shift-M) * Support alternative type "text/markdown"
18 lines
564 B
Plaintext
Executable File
18 lines
564 B
Plaintext
Executable File
title: $:/plugins/tiddlywiki/markdown/EditorToolbar/mono-block
|
|
list-after: $:/core/ui/EditorToolbar/mono-block
|
|
tags: $:/tags/EditorToolbar
|
|
icon: $:/core/images/mono-block
|
|
caption: {{$:/language/Buttons/MonoBlock/Caption}} (Markdown)
|
|
description: {{$:/language/Buttons/MonoBlock/Hint}}
|
|
condition: [<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]
|
|
button-classes: tc-text-editor-toolbar-item-start-group
|
|
shortcuts: ((mono-block))
|
|
|
|
<$action-sendmessage
|
|
$message="tm-edit-text-operation"
|
|
$param="wrap-lines"
|
|
prefix="
|
|
```"
|
|
suffix="```"
|
|
/>
|