Aadhavan Srinivasan
1d9ac86a2a
Implementation and test for horizontal rule
1 month ago
Aadhavan Srinivasan
0320402957
Fixed how trailing newlines are parsed
1 month ago
Aadhavan Srinivasan
8696a185a7
Rewrote readLines function to be more concise
1 month ago
Aadhavan Srinivasan
da38ac226f
Added figure implementation and tests
1 month ago
Aadhavan Srinivasan
1fcce32ef6
Updated to read from stdin/file
1 month ago
Aadhavan Srinivasan
e50081614a
Removed section from cabal file
1 month ago
Aadhavan Srinivasan
b98a8cc44f
Added image tests
1 month ago
Aadhavan Srinivasan
90c7a585d2
Added image parser
1 month ago
Aadhavan Srinivasan
4a15330874
Updated showing of image
1 month ago
Aadhavan Srinivasan
c14112d3e4
Updated special and escapable characters
1 month ago
Aadhavan Srinivasan
ed7d2c1ef1
Added code parser to list line parser list
1 month ago
Aadhavan Srinivasan
eb20f154a4
Removed unused function
1 month ago
Aadhavan Srinivasan
172985131b
Fixed HTML rendering for horizontal rule
1 month ago
Aadhavan Srinivasan
3781e67ab1
Created a separate list of escapable chars
1 month ago
Aadhavan Srinivasan
f2d54edd3f
Implemented inline code parsing
1 month ago
Aadhavan Srinivasan
5393dc4eb9
Added code tests
1 month ago
Aadhavan Srinivasan
e051c87f08
Factor list line common parsing into a separate function; refactored
...
OList and UList line parsing to us it
1 month ago
Aadhavan Srinivasan
9b1c51897c
A nested list can be ordered or unordered
1 month ago
Aadhavan Srinivasan
2a3dddc7b0
Rename function
1 month ago
Aadhavan Srinivasan
a8793b5adb
Remove obsolete comments
1 month ago
Aadhavan Srinivasan
eecec764ad
A list can contain a blockquote as well.
1 month ago
Aadhavan Srinivasan
cdca6ea95e
A list item doesn't need to have a nested list item parser, because the
...
line item parser handles the nested list.
1 month ago
Aadhavan Srinivasan
540b5430e5
Use list of document parsers in parseDocument
1 month ago
Aadhavan Srinivasan
00dfba81eb
Created a list of document parsers; implemented ordered list parsing.
1 month ago
Aadhavan Srinivasan
39152c0034
Factor out common code for UList and OList parsing into a separate
...
function. Refactored UList function; wrote OList function.
1 month ago
Aadhavan Srinivasan
41b35be7c9
Rename function
1 month ago
Aadhavan Srinivasan
d2c8565f62
Import Data.Char for isDigit
1 month ago
Aadhavan Srinivasan
62eeef2abb
Removed unused functions
1 month ago
Aadhavan Srinivasan
9c6634cfec
Added ordered list tests
1 month ago
Aadhavan Srinivasan
2a5a68b1de
Fixed test name
1 month ago
Aadhavan Srinivasan
f8e1a98bdf
Remove obsolete comment
1 month ago
Aadhavan Srinivasan
05433c31f1
Remove unused functions
1 month ago
Aadhavan Srinivasan
5c871f2b25
Removed test file
1 month ago
Aadhavan Srinivasan
5273c99e6e
Added unordered list tests and integration tests; added strikethrough
...
tests to test list
1 month ago
Aadhavan Srinivasan
50888c9c3d
Added bold and strikethrough tests
1 month ago
Aadhavan Srinivasan
45115c765c
An unordered list must end in a blank line.
1 month ago
Aadhavan Srinivasan
5b0d42fd2d
Use the in-order parsing approach instead of the post-order one.
1 month ago
Aadhavan Srinivasan
2a585d00f2
Enforce at least one space between list indicator and list text.
1 month ago
Aadhavan Srinivasan
11a3b14cb1
Define a parser for list line tokens, update line token parser
1 month ago
Aadhavan Srinivasan
58d3142855
Update comment
1 month ago
Aadhavan Srinivasan
0fb651fffc
Add parseUnit instead of parseString to lineParsers
1 month ago
Aadhavan Srinivasan
bc05dede06
Create a list of parsers that are used for list line items.
1 month ago
Aadhavan Srinivasan
b69e34f823
Parse a single character as a unit
1 month ago
Aadhavan Srinivasan
2514ecdafc
Parse bold, italic and strikethrough in-order, instead of trying to find
...
the end, then parsing everything in the middle.
The current approach parses the opening bold (or italic), some text,
then the closing bold (or italic), instead of parsing the opening,
closing, then everything in between.
1 month ago
Aadhavan Srinivasan
c52d5556a2
Allow for multiple blank lines after header
1 month ago
Aadhavan Srinivasan
5fc1b1122a
Create a function to 'fallthrough parse' ie. try the second parser only
...
if the first one fails.
1 month ago
Aadhavan Srinivasan
83dd0024c4
Space doesn't have to be a reserved character anymore.
1 month ago
Aadhavan Srinivasan
70761649ad
Derive Eq for defined types
1 month ago
Aadhavan Srinivasan
b9c6cc4470
Implemented strikethrough parser
1 month ago
Aadhavan Srinivasan
23691f9cfe
Add strikethrough parser to line parser list
1 month ago