Skip to content

Commit

Permalink
Updated to CommonMark spec v0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ConstNW committed Oct 29, 2014
1 parent 0226c08 commit b747768
Show file tree
Hide file tree
Showing 18 changed files with 3,206 additions and 382 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
bin/*.n
bin/*.js*
bin/*.js*
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
LIB_NAME=comark
LIB_FILE=$(LIB_NAME).zip

upload:
haxelib submit comark.zip

lib: $(LIB_FILE) clean

$(LIB_FILE): haxelib.json src/*/*
-mkdir temp
cp haxelib.json temp/
cp -R src/comark temp/
cd temp; zip -X -r $(LIB_FILE) .; mv $(LIB_FILE) ../

clean:
-rm -rf temp

43 changes: 43 additions & 0 deletions bin/tests/github.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
title: CommonMark Github flavour Spec
author:
- ConstNW
version: 0.1
date: 2014-10-29
...


# Strike


.
~~foo~~
.
<p><del>foo</del></p>
.

# No Strike

.
~~foo
.
<p>~~foo</p>
.

# Hashtag

.
#hashtag
.
<p><a href="/hashtag/hashtag">#hashtag</a></p>
.

.
#hash tag
.
<p><a href="/hashtag/hash">#hash</a> tag</p>
.

<!-- END TESTS -->

# Appendix
Loading

0 comments on commit b747768

Please sign in to comment.