Tried To Install The MarkDown plugin

353 views
Skip to first unread message

atomi

unread,
Oct 11, 2011, 7:07:00 PM10/11/11
to tiddl...@googlegroups.com
I went ahead and tried to install this markdown plugin
http://oldwiki.tiddlywiki.org/wiki/Markdown 

Also added the appropriate MarkdownFormat tag yet the markdown formatting isn't working.
version major: 2, minor: 6, revision: 4

sewpafly

unread,
Oct 12, 2011, 10:01:38 AM10/12/11
to TiddlyWiki
Use this one: http://showdown.tiddlyspace.com/#ShowDown which requires
this one: http://showdown.tiddlyspace.com/#ShowDown.js

I would like to incorporate the functionality of this plugin into the
normal formatting system, but I can't figure out how to hook it in
without pattern matching.

On Oct 11, 4:07 pm, atomi <louiedo...@gmail.com> wrote:
> I went ahead and tried to install this markdown pluginhttp://oldwiki.tiddlywiki.org/wiki/Markdown

Tobias Beer

unread,
Oct 14, 2011, 2:57:10 PM10/14/11
to TiddlyWiki
Hey sewpafly,

What exactly do you mean? Today it works by using a formatter so you
can use MarkDown next to regular TiddlyWiki syntax. What are you
missing?Hey sewpafly, what exactly do you mean? Today it works by
using a formatter so you can use MarkDown next to regular TiddlyWiki
syntax. What are you missing?

If you want to try to replace TiddlyWiki formatters with MarkDown,
that indeed is not a simple task, especially when it comes to all the
additional fancyness of plugins and such and whatever they rely on,
e.g. sections, slices and what not.

Cheers, Tobias.

Data Computist

unread,
Oct 14, 2011, 6:06:55 PM10/14/11
to tiddl...@googlegroups.com
I installed this plugin. How do I use it?

I put 

`this is supposed to be verbatim code`

and 

    xxxxxx this is computer code
    another line of computer code

in a tiddler and it does format as Markdown would do.

What could i be missing?

Thanks!

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To post to this group, send email to tiddl...@googlegroups.com.
To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.


PMario

unread,
Oct 15, 2011, 5:40:24 AM10/15/11
to TiddlyWiki
On Oct 15, 12:06 am, Data Computist <lumeng....@gmail.com> wrote:
> `this is supposed to be verbatim code`
did you try
§§§
`this is supposed to be verbatim code`
§§§

or

§§§
xxxxxx this is computer code
another line of computer code
§§§

-m

PMario

unread,
Oct 15, 2011, 5:50:16 AM10/15/11
to TiddlyWiki
Hi Tobias,
I think, the main problem is, that you need the §§§ pre/postfixes to
get the thing activated.

Martin's "old" formatter, worked with tags, to activate a "different"
formatter. Your plugin uses the pre and postfixes. Both methods are
"suboptimal".

eg:
If I want to use a tag: "markdown" the "tag activated" formatter may
be wrong, if I just want to use the tag, but no formatting.
Your §§§ needs an additional marker, that is not markdown. Which makes
copy/paste more work.

I think it'd be worth a topic in the dev group, since TiddlySpace
introduced a field "server.content-type" to handle different content-
types in a defined way. IMO file TW should get some support in this
direction too.

-m

sewpafly

unread,
Oct 16, 2011, 2:41:19 AM10/16/11
to TiddlyWiki
Actually that's what I was trying to say. The "old" formatter appears
to work if you just tag the post with something like "MarkdownFormat"
or something similar. I was hoping for a mechanism like that without
requiring a pre/post-fix delimiter.

Tobias Beer

unread,
Oct 16, 2011, 5:48:08 PM10/16/11
to TiddlyWiki
Everything dev related, over here please...

http://groups.google.com/group/tiddlywikidev/browse_frm/thread/9eeb5e671e3a975f

PMario, could you take a look and perhaps provide some input? I
remember you were enlightening humble me with respect to the first
version, if not pointing out that sewpafly's request would probably
pop up at some point.

Thanks, Tobias.

Data Computist

unread,
Oct 18, 2011, 2:02:55 AM10/18/11
to tiddl...@googlegroups.com

When i do this, it gives a pop-up window when i save a tiddler using
Markdown syntax. The pop-up window says "ReferenceError: Showdown is
not defined".

I checked that my tiddlers MarkDown and MarkDown.js are correctly
saved. I copied them from http://showdown.tiddlyspace.com/ and tagged
them systemConfig.

Tobias Beer

unread,
Oct 20, 2011, 1:02:57 PM10/20/11
to TiddlyWiki
Hi,

Could you upload a minimal testcase somewhere, so we can have a look
at what could be wrong?
Otherwise it's real hard to diagnose.

Cheers, Tobias.

Meng Lu

unread,
Oct 20, 2011, 6:04:57 PM10/20/11
to tiddl...@googlegroups.com
Hi,

I tried copied my tiddlers at

http://lumeng.tiddlyspace.com/tiddlers.wiki

Could you please take a look?
--
lumen...@gmail.com



Meng Lu

unread,
Oct 20, 2011, 6:52:03 PM10/20/11
to tiddl...@googlegroups.com
Well, somehow after deleting tiddlers Markdown and Markdown.js and recreating them in my TiddlyWiki instance, things start to work. It might be that i had a copy-paste error. :)
--
lumen...@gmail.com

atomi

unread,
Oct 25, 2011, 7:08:04 PM10/25/11
to tiddl...@googlegroups.com
I couldn't get this to work.
Reply all
Reply to author
Forward
0 new messages