bkad / prat

group chat with markdown served over websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

markdown links should open in a new tab

bkad opened this issue · comments

might have to fork misaka/sundown to do this

Is it not nice and modular and hackable like Redcarpet?

we also havent fixed this for barkeep yet.

Hah, I saw your aggressive reply before you toned it down :D

We should file the bug over on Barkeep as well. I'm just saying that in Redcarpet you can just override the link method on your subclass of Redcarpet::Render::HTML and you're set. Maybe it will be similarly simple in sundown. Or maybe we'll have to fork and modify.

That was because I detected someone being snarky :P

The override mechanism for the python bindings are the same (subclass and override methods).

Cool, then we definitely don't need to do any forking at all!

Hey, what do you think about smartypants? I'm using it in my blog (it's built into Redcarpet as a module as well). It's nice for turning -- into – and such.

the source code for it is already embedded in the bindings, so turning on SmartyPants is just flipping on a flag. I haven't looked into whether or not it would look better with SmartyPants though