5.1.15-prerelease • Published 7 years ago
@yeatszhang/tiddlywiki v5.1.15-prerelease
why need this
- office markdown plugin don't support code block, and image support is not good
- replace markdown-js width marked, support more feature
Description
a tiddlywiki5 fork support markdown by marked
need install office highlight.js plugin first
Install
npm install https://github.com/yeatszhang/TiddlyWiki5.git -g- after start the server, edit
tiddlywiki.info - add
yeats/markdowntoplugins
{
"description": "Basic client-server edition",
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight",
// add the plugin
"yeats/markdown",
"tiddlywiki/codemirror"
]
}Usage
Creating ~WikiLinks
Create wiki links with the usual Markdown link syntax targeting # and the target tiddler title:
[link text](#TiddlerTitle)Images
Markdown image syntax can be used to reference images by tiddler title or an external URI. For example:

support Highlight.js
```javascript
function hello () {
console.log('Hello world')
}
```5.1.15-prerelease
7 years ago