@yeatszhang/tiddlywiki

5.1.15-prerelease • Public • Published

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/markdown to plugins
{
    "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:

![alt text](/path/to/img.jpg "Title")

![alt text](Motovun Jack.jpg "Title")

support Highlight.js

```javascript
 function hello () {
    console.log('Hello world')
 }
```

Package Sidebar

Install

npm i @yeatszhang/tiddlywiki

Weekly Downloads

32

Version

5.1.15-prerelease

License

BSD

Unpacked Size

20.5 MB

Total Files

5013

Last publish

Collaborators

  • yeatz