Skip to content

Commit e66e221

Browse files
committed
Fixed markup and links in markdown transformer script
Signed-off-by: Tomáš Golembiovský <[email protected]>
1 parent 6b5f5ee commit e66e221

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/docs/scripting/Scripts_collection.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,9 +1645,14 @@ IContentTransformers are used for several tasks in Freeplane, e. g. for
16451645
* [Node formatting](https://github.com/freeplane/freeplane/tree/1.4.x/freeplane/src/main/java/org/freeplane/features/text/FormatContentTransformer.java)
16461646

16471647
Here we use a content transformer to render [Markdown](http://en.wikipedia.org/wiki/Markdown) formatted links as HTML inline links like in this text:
1648-
<nowiki>see the [Scripts collection](http://www.freeplane.org/wiki/index.php?title=Scripts_collection) in the [Freeplane wiki](http://www.freeplane.org/wiki/index.php/Main_Page)!</nowiki>
1649-
to be rendered as
1650-
see the [http://www.freeplane.org/wiki/index.php?title=Scripts_collection Scripts collection] in the [http://www.freeplane.org/wiki/index.php/Main_Page Freeplane wiki]!
1648+
1649+
```
1650+
See the [Scripts collection](https://docs.freeplane.org/scripting/Scripts_collection.html) in the [Freeplane documentation](https://docs.freeplane.org/)!
1651+
```
1652+
1653+
to be rendered as:
1654+
1655+
See the [Scripts collection](https://docs.freeplane.org/scripting/Scripts_collection.html) in the [Freeplane documentation](https://docs.freeplane.org/)!
16511656

16521657
This renderer implements full Markdown syntax. This script has to be executed once on startup so it's best to install it as a [init script](Init_scripts.md).
16531658
<!-- name=registerMarkdownRenderer -->

0 commit comments

Comments
 (0)