Cameron Fischer
e01b354f7d
Corrected issue with markdowns softbreaks AND whitespace between md markup ( #4684 )
...
* Corrected issue with markdowns softbreaks
It wasn't respecting the $:/config/markdown/breaks setting.
It was effectively always "true".
Also, no more errors when encountering hardbreaks.
* Corrected introduced md bug
Made it so after each md type, accumulated text may be flushed.
* Changed convertNodes to use switch statement
It's faster, less text, easier to read, and now debuggers don't play
duck-duck-goose with every if-else block.
* whitespace text is no longer forgotten
* Fixed issue with text after md pattern and \n
2020-06-11 12:09:10 +01:00
Cameron Fischer
b0485eef6a
Corrected incorrect image source for markdown ( #4680 )
2020-06-11 12:03:16 +01:00
scott willeke
3fd301a5d2
Markdown plugin: Description notes remarkable instead of markdown-js ( #4422 )
2020-03-02 09:29:16 +00:00
Jeremy Ruston
8eb2ec9357
Fix Travis CI syntax error
...
We were getting "SyntaxError: Use of const in strict mode."
2020-02-04 14:35:21 +00:00
Brooks Boyd
b258afea0d
Replace Markdown parsing library with Remarkable ( #3876 )
...
* Replace Markdown parsing library with Remarkable
* Fix handling of block-level elements
* Update documentation
* Add config options for Parser actions
* Add Config options for Remarkable library
* Match code style
* Update documentation
* Handle ordered lists and horizontal rules
* Update to v2.0.0 of Remarkable library
2020-01-20 13:13:36 +00:00
Jeremy Ruston
6732b3c0d9
Use match operator instead of prefix
...
Fixes #4407
2020-01-05 13:54:06 +00:00
Simon Huber
d8fd2f75d6
Two missing whitespace trims for PageControls ( #4296 )
...
* add whitespace trim to help button
* add whitespace trim to new markdown button
* Update help.tid
2019-10-07 18:50:30 +01:00
Jeremy Ruston
bf9aeb5755
Improve plugin metadata, and add a "name" field
...
The "name" is optional, but makes the library listing much clearer.
2019-09-19 13:04:10 +01:00
Jermolene
534f5e7c13
Revert "Add text/vnd.tiddlywiki to system tiddlers within plugins that should be wikified (c.f. #2883 )"
...
This reverts commit 7436fc7374
.
2017-06-24 17:48:32 +01:00
Jermolene
7436fc7374
Add text/vnd.tiddlywiki to system tiddlers within plugins that should be wikified (c.f. #2883 )
2017-06-09 15:52:19 +01:00
Jermolene
44e9634164
Update codemirror and markdown plugins from #2315
2016-04-22 08:41:31 +01:00
Jeremy Ruston
2adf09129d
Introduce text editor toolbar ( #2315 )
...
Tada!
2016-04-22 08:36:29 +01:00
senevoldsen90
e5cef9a5a6
Local relative urls in Markdown map to WikiLinks
2015-10-09 15:11:24 +02:00
Jermolene
f2a7f00870
Improve plugin readmes
...
Now every plugin has a short, introductory readme tiddler that is shown
in the online plugin library.
2015-03-19 10:53:45 +00:00
Astrid Elocson
28f78730ba
Consistent plugin descriptions
2015-02-17 10:28:54 +00:00
Jermolene
9e6dab06cc
Fix problem with Maruku Markdown metadata
...
Fixes #855 - albeit it’s a bit of a kluge. The internal format returned
by `markdown.toHTMLTree()` isn’t sufficiently well documented for me to
be confident that the new code is resilient to all the things that
might be returned.
2014-09-19 15:03:52 +01:00
Jermolene
32b795452f
Allow Markdown dialect to be configured
2014-08-27 11:09:59 +01:00
Jermolene
b8aedf2ca3
Fixed problem with Markdown image handling
2014-06-18 14:56:32 +01:00
Jermolene
45b0966013
Support the image widget in markdown
2014-04-17 16:50:54 +01:00
Jermolene
3307604130
Make type information translateable
2014-02-16 19:58:53 +00:00
Jermolene
5ac5b2c76d
Move markdown.js
...
Leaving it in node_modules meant that it wasn’t getting installed by npm
Fixes #281
2013-12-15 16:44:49 +00:00
Jermolene
8496337d30
Remove "coreversion" metadata from plugins
...
There’s no support for it yet, so it’s confusing.
2013-12-14 09:49:39 +00:00
Jermolene
90a0eca2f5
Add dropdown interface for setting the type of a tiddler
2013-11-18 09:00:25 +00:00
Jeremy Ruston
36fa41e19a
First pass at integrating a Markdown parser
...
Internal links don't work yet.
@natecain - have I included the node module in the right way?
2013-11-01 16:06:08 +00:00