[Userscript]: Markdown Notes (updated)

Markdown Notes

:warning: This is a third-party script/app and is not created by the WaniKani team. By using this, you understand that it can stop working at any time or be discontinued indefinitely.

[Download here]

Per this request, this is an updated version of this original script by jeshuamorrissey.

It allows you to add html (via markdown) to your item notes:

Sample:


Notes text used for the above sample:
![Cat](http://www.biltonvets.co.uk/wpimages/wpe73cdc8f_06.png)~br~Kanji: #kan#猫#/kan#~br~Hiragana: #read#ねこ#/read#



Here are the supported markups:

#rad#text#/rad# = Radical highlight (blue)
#kan#text#/kan# = Kanji highlight (pink)
#voc#text#/voc# = Vocabulary highlight (purple)
#read#text#/read# = Reading highlight (black)

text, text = bold
text, text = italics
[Link Text](http://www.example.com) = hyperlinked text
Alt Text = image
~br~ = break (i.e. new line of text)

(There may be other supported markup.  See documentation of showdownjs)

11 Likes

Nice!

+1

EDIT: Double Post

EDIT: Triple Post

Really now? Quadruple Post

I am amazing at Quintuple Posts

Crunderwood said... I am amazing at double posts
 wow, you'll be the top chattygator in no time! :)

(and I want your avatar back too, rfindley...)
tomboy said...
Crunderwood said... I am amazing at double posts
 wow, you'll be the top chattygator in no time! :)
 I just wanted to post a single +1 but apparently it was that good
tomboy said...
Crunderwood said... I am amazing at double posts
 wow, you'll be the top chattygator in no time! :)
 I just wanted to post a single +1 but apparently it was that good

EDIT: I give up
tomboy said...
Crunderwood said... I am amazing at double posts
 wow, you'll be the top chattygator in no time! :)
 I just wanted to post a single +1 but apparently it was that good

EDIT: I wish I knew what was happening

This is incredibly sweet, god I just wish I’d had your scripts a year ago. Thank you so much for making this :slight_smile:

1 Like

Holy Frijoles! This is excellent.

I didn’t even know about the original.

Thanks for yet another slice of awesome cake, rfindley.

I didn’t know about the original either until earlier today.  It looked cool and useful, so I took a glance at the code to see if it was fixable.  Turned out to be a 10min repair job.

My meanings notes are now filled with cat pictures. Day made.

I am glad you repaired the originals :wink:

Thank you, rfindely! And yes, that was a nice script, very useful.

Tiny bug, I can’t start a new paragraph. Since I don’t know English to well, let the pictures talk in my stead xD




When I save the notes, they go all in one line. I don’t remember the bug in the original script, but I could be wrong, it’s been a while since last time I used it. 

Marvoch said... Tiny bug, I can't start a new paragraph.
When I save the notes, they go all in one line. I don't remember the bug in the original script, but I could be wrong, it's been a while since last time I used it. 
[EDIT: See update below]

v1.4 - Fixed support for newlines.

Thanks again, rfindley!