You can install using: `haxelib install mdown`
And the usage is `var html = Markdown.convert('Hello **World**');`
Hope this is of use to some people! Any bugs you notice please either reply or post an issue on Github: https://github.com/jasononeil/mdown
JasonJason
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
Hi,
Thanks all for the encouragement.
Nicolas, if you have a parser that can be adapted I'm sure that's a much better solution and I'd be happy to add some rules to make it parse Markdown. I don't mind if it's in std or haxelib.
Jason
...
Sent from my phone, so apologies for any typos...
Are you a kind of fairy ?
Le 26/04/2012 02:40, Jason O'Neil a écrit :Ok I've put it up there so everybody interested can check it :
Hi,
Thanks all for the encouragement.
Nicolas, if you have a parser that can be adapted I'm sure that's a much
better solution and I'd be happy to add some rules to make it parse
Markdown. I don't mind if it's in std or haxelib.
https://github.com/ncannasse/markaxe
Best,
Nicolas
[tag=attrib]...[/tab] : same but with an attribute (can be anything not including ] or newlines)
Le 26/04/2012 13:19, Benjamin Dubois a écrit :a) not much time
Interesting. why not putting it in haxelib ?
b) better to have it there while people are playing with it
We will add it either to haxelib or haxe std library if there is an interest for it.
Best,
Nicolas
Both? ;)
...
Sent from my phone, so apologies for any typos...
Am 26.04.2012 15:27, schrieb Nicolas Cannasse:
Le 26/04/2012 15:32, Simon Krajewski a écrit :
Am 26.04.2012 15:27, schrieb Nicolas Cannasse:
Le 26/04/2012 15:24, Simon Krajewski a écrit :
Am 26.04.2012 13:52, schrieb Nicolas Cannasse:
Le 26/04/2012 13:19, Benjamin Dubois a écrit :
Interesting. why not putting it in haxelib ?
a) not much time
b) better to have it there while people are playing with it
We will add it either to haxelib or haxe std library if there is an
interest for it.
Would it make sense to add local support for
haxelib github ncannasse/markaxe src
or do you insist on keeping library stuff centralized to lib.haxe.org?
In that case, could above command line be used to actually update an
online haxelib lib from github after it was initially created?
Is that an actual patch proposal ? :)
Yes I can work on that. I just need to know what we want to support here:
a) users being able to directly install libs from github without
lib.haxe.org or
I think (a) is enough right now.
Also please don't name it "github" but git :
haxelib git libname gitpath[@rev]
I guess you should also treat these as "dev" libs.
Best,
Nicolas
+1 for using standard git address, not github.
I imagine you'd need:
Would be great to have the option to use a private repository for haxelib, for internal use at a company etc. Excited to see this coming :)
- Full path to the repo: g...@github.com:jasononeil/domtools.git
- Branch / Tag to use: "master" or "v1.0" etc
- Path inside repo:"src/", unless you assume the repo is the correct structure for haxelib, good to go. That works too.