Commit Graph

5841 Commits

Author SHA1 Message Date
Ted Blackman
28acd75a9a fenced code blocks in separate parser to support blank lines 2017-08-22 14:02:44 -07:00
Ted Blackman
d61d2a0513 update test file for fenced code block 2017-08-22 12:36:54 -07:00
Ted Blackman
5626c70b31 Fix --- eating next line 2017-08-22 12:34:27 -07:00
Ted Blackman
b3dd151c0a updated related test files 2017-08-21 16:44:07 -07:00
Ted Blackman
1de4408df3 Fenced code blocks 2017-08-21 16:32:03 -07:00
Ted Blackman
31aba9606c removed leading zap in new vast2.hoon 2017-08-18 18:43:44 -07:00
Anton Dyudin
6d03df2001 Weird hack to allow hoon at start-of-line 2017-08-09 18:09:31 -07:00
Anton Dyudin
fe96ff92bc don't parse raw numbers as code 2017-08-09 18:01:49 -07:00
Anton Dyudin
7eeb8f5990 don't emit emty <p> tags
and clean up resolved old comment
2017-08-09 13:36:51 -07:00
Anton Dyudin
812f5e6032 parse whitespace after horizontal rule, sail
(cherry picked from commit 5317b6a1fd81f05ab8cb9b4b5645bdefbf4dd188)
2017-08-09 12:31:03 -07:00
Anton Dyudin
b249807893 add leading space, trailing newline to block parser input 2017-08-09 12:30:37 -07:00
Anton Dyudin
2c5e4445b1 add .umd urbit-markdown mark 2017-08-07 13:17:22 -07:00
Anton Dyudin
19bf1b20f0 expose cram parser 2017-08-04 17:49:38 -07:00
Anton Dyudin
3e75ba0466 normalize cram output slightly for comparison 2017-08-03 18:13:11 -07:00
Anton Dyudin
cad9c98421 check commonmark vs cram output 2017-08-03 18:12:47 -07:00
Anton Dyudin
c11275a0be show cram renderings of commonmark examples 2017-08-03 17:47:25 -07:00
Anton Dyudin
e5640e503e don't error on <hr> continuation 2017-08-03 17:47:01 -07:00
Anton Dyudin
08ac61b9a4 add CommonMark spec document 2017-08-03 15:34:16 -07:00
Anton Dyudin
ae9d5e5429 add <style> test, allow immediate sail in ++shut:ap 2017-08-03 15:18:27 -07:00
Anton Dyudin
d6365680e7 add http://localhost:8443/unmark/all test frontend 2017-08-03 14:13:17 -07:00
Anton Dyudin
431671883f don't auto-parse comments inside markdown 2017-08-03 14:04:44 -07:00
Fang
30154b559f Updated test files. 2017-08-02 18:04:12 -07:00
Fang
bab3b039ca Enable markdown as a twig syntax
commenting/removing various printfs
2017-08-02 17:36:40 -07:00
Fang
f3c61df97a Move ++cram to ++vast 2017-08-02 16:25:32 -07:00
Fang
956867e394 last-minute refactoring for inclusion in hoon.hoon 2017-08-02 15:53:05 -07:00
Fang
9c6ed180d3 move ++freeze to ++shut:ap, produce marl 2017-08-02 15:40:13 -07:00
Fang
974d789662 More directly follow syntax for producing single nodes vs lists
eyre should now boot
2017-08-02 14:53:06 -07:00
Fang
794ad9ae1d move updated ++sail to hoon.hoon, ++steam to ++open:ap 2017-08-02 14:46:19 -07:00
Fang
86d9b022e3 Tighten namespace in sail 2017-08-02 13:22:11 -07:00
Fang
6985398293 End parsing cram on outdent 2017-08-02 11:42:19 -07:00
Fang
108f8079af Start markdown with --- 2017-08-01 16:38:06 -07:00
Fang
be584f89b3 Detect code blocks immediately inside containers 2017-08-01 15:54:26 -07:00
Fang
3c2cbdaea2 use col to track code/poem indents properly
(this was previously causing a bug, but can't be reproduced)
2017-08-01 15:22:24 -07:00
Fang
47e65df18a parse first line in container 2017-08-01 15:06:13 -07:00
Fang
25f04ac5e5 Allow nested containers by parsing their delimiters immediately 2017-08-01 12:52:10 -07:00
Fang
1b4fd3440c Parse indent in ++snap directly instead of feeding spaces to span-level parsers 2017-08-01 12:22:45 -07:00
Fang
4cb1d46618 correctly check for outdents without intervening blank lines 2017-07-31 18:06:08 -07:00
Fang
417c63e83e fix bad assumption in conversion code, extract style->indent map 2017-07-31 18:05:46 -07:00
Fang
0fac5b29b6 don't require blank lines between list items, quotes 2017-07-31 17:26:18 -07:00
Fang
1c34ce1f96 extract ++new-container logic 2017-07-31 17:20:19 -07:00
Fang
1076a1ee31 Add --- <hr> parsing 2017-07-31 15:55:35 -07:00
Fang
827d091a60 Require space before hoon literals 2017-07-31 15:04:44 -07:00
Fang
be4f22d20c Fix header parsing 2017-07-31 14:30:01 -07:00
Fang
5fbff69e37 Change blackquote syntax to '> ', embed syntax to '! ' 2017-07-28 15:00:14 -07:00
Fang
71eca553eb Comment consistency & cleanup. Removed unused code. 2017-07-28 13:45:17 -07:00
Fang
2d0a5d1aa3 Fixed issues with codeblocks where they prevented subsequent items from being processed properly.
Codeblocks can now contain newlines.
2017-07-27 18:06:43 -07:00
Fang
63d6ff5d76 Codeblocks no longer repeat themselves. 2017-07-27 15:36:47 -07:00
Fang
4f339023e4 minor reorg 2017-07-27 13:25:03 -07:00
Fang
07fccb7890 Cleanup of superfluous arms, simplifying. 2017-07-26 18:22:19 -07:00
Fang
b047c1a5d3 Moved parsers into their own core. 2017-07-26 18:19:33 -07:00