summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2014-09-11Fixed reMain regex for better performance.John MacFarlane
2014-09-11Fixed rewind on parseLabel.John MacFarlane
14 test failures now, all with emphasis. IN most of all of these cases, the examples in the spec seem to be mistakes, given what the spec says. More troubling, performance is down from around 220 to 83. This needs investigation.
2014-09-11Completed conversion to memoized strategy.John MacFarlane
Test suite runs, but many failures.
2014-09-11Cleanup.John MacFarlane
2014-09-11Did parseAutolink.John MacFarlane
2014-09-11Did parseHtmLTag.John MacFarlane
2014-09-11Did parseEntity.John MacFarlane
2014-09-11Did parseBackticks.John MacFarlane
2014-09-11Finished parseEmphasis.John MacFarlane
This seems to work properly. We now get proper results for `***hi**`.
2014-09-11parseEmphasis: added Strong and shell for triples.John MacFarlane
2014-09-11Shell of parseEmphasis.John MacFarlane
2014-09-11Did parseBackslash (used to be parseEscaped).John MacFarlane
2014-09-11New strategy: did parseNewlines, parseString.John MacFarlane
2014-09-11stmd.js: Added memoization of inline parsing.John MacFarlane
2014-09-09Dingus: use bind('keyup paste cut mouseup'...John MacFarlane
Modifies #98. (Generic 'change' by itself wasn't enough.)
2014-09-09Use generic 'change' to trigger parseAndRender.John MacFarlane
Modifies #98.
2014-09-08Fix some compatibility issuesGérald Barré
- Use `String.charAt(index)` instead of array like syntax for browser compatibility. - Use `Array.slice(index, length)` instead of `Array.slice(index)` for browser compatibility.
2014-09-07typo replacing CommonMark correctedPablo Rodríguez
2014-09-07Fixed #48.John MacFarlane
- Fixed js and C code. - Added two test cases to spec.
2014-09-07Partially address #48 in js parser.John MacFarlane
TODO: C parser, add test case to spec.
2014-09-07Fixed comment.John MacFarlane
2014-09-06Spec, js, C: Added iframe to block-level HTML tags.John MacFarlane
Closes #88.
2014-09-06Don't treat "br" as a block-level HTML tag.John MacFarlane
Fixed in spec and both implementations. Closes #67.
2014-09-06stmd.js: Added another regex anchor, in reMain.John MacFarlane
2014-09-06Added anchor to linkDestination regexes.John MacFarlane
Closes #62.
2014-09-06Merge pull request #65 from yamadapc/masterJohn MacFarlane
Fix the output of the JS `markdown` executable.
2014-09-06Adjusted HTML output for fenced code to match #71 change.John MacFarlane
2014-09-06Merge pull request #77 from Steve-Fenton/patch-1John MacFarlane
Minor fixes to stmd.js (non messed-up version)
2014-09-06Merge pull request #81 from BurtHarris/masterJohn MacFarlane
Resolve test.js line-ending sensitivity blocking running tests on Windows
2014-09-06replace Standard Markdown with CommonMarkPablo Rodríguez
2014-09-05Restore indentation (minor)BurtHarris
2014-09-05Normalize line endings javascript spec test to make it platform independent.BurtHarris
Cleaned up a missing semicolons, unused variables, undeclared variables.
2014-09-05Update stmd.jsSteve Fenton
2014-09-05Minor fixes - non messed-up version!Steve Fenton
A few undeclared variables - no big deal there. One use of block_end_line where block.end_line was meant (I believe). Also - query as to whether the new keyword is needed when calling InlineParser as the function returns an object, so we're not dealing with an instance of InlineParser (I haven't changed this, just a query).
2014-09-04Fix the output of the JS `markdown` executable.yamadapc
Previously, because of `console.log` semantics, if you ran: ``` make test PROG=js/markdown ``` You'd get a couple of errors caused by `console.log` calls putting `\n` line breaks where they shouldn't. This fixes that by using `process.stdout.write` instead of `console.log`. This isn't something really important, but it's nice for all the provided executables to pass the test suite.
2014-09-03stmd.js: Fixed ATX header parser bug.John MacFarlane
Don't count an escaped # at the end as a closing string of #s. Closes #16.
2014-09-03Fixed font size for h3 in dingus.John MacFarlane
2014-08-29Removed trailing commas in JavaScript objectss9e
2014-08-13Added dingus as js/index.html.John MacFarlane
2014-08-13Added ansi so we don't need to install anything to run testjs.John MacFarlane
2014-08-13Initial commitJohn MacFarlane