1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-03 03:18:02 +00:00

Add support for onhashchange

Now we respond dynamically to changes in the location hash in the URL
bar. It means that you can do links in HTML as `<a
href=“#HelloThere”>go</a>` and in Markdown as `[example
link](#HelloThere).`

We still need to make startup.js more modular
This commit is contained in:
Jermolene
2014-05-03 12:20:28 +01:00
parent b2c1331c11
commit 6ccf02ed96
4 changed files with 72 additions and 41 deletions

View File

@@ -2,8 +2,13 @@ title: HelloThere
This is a demo of TiddlyWiki5 incorporating a plugin for the [[markdown-js|https://github.com/evilstreak/markdown-js]] Markdown parser from Dominic Baggott.
The MarkdownExample tiddler below is written in Markdown.
The MarkdownExample tiddler below is written in Markdown. Create wiki links with the usual Markdown link syntax targeting `#` and the target tiddler title:
```
[link text](#TiddlerTitle)
```
To add the plugin to your own TiddlyWiki5, just drag this link to the browser window:
[[$:/plugins/tiddlywiki/markdown]]