234145bcb3Started working on parsing changes to allow incomplete elements to be parsed (eg. opening bold, followed by text, without closing bold)Aadhavan Srinivasan2025-05-20 22:21:59 -0400
e051c87f08Factor list line common parsing into a separate function; refactored OList and UList line parsing to us itAadhavan Srinivasan2025-05-20 16:48:31 -0400
cdca6ea95eA list item doesn't need to have a nested list item parser, because the line item parser handles the nested list.Aadhavan Srinivasan2025-05-20 16:46:52 -0400
00dfba81ebCreated a list of document parsers; implemented ordered list parsing.Aadhavan Srinivasan2025-05-20 16:45:37 -0400
39152c0034Factor out common code for UList and OList parsing into a separate function. Refactored UList function; wrote OList function.Aadhavan Srinivasan2025-05-20 16:45:07 -0400
2514ecdafcParse bold, italic and strikethrough in-order, instead of trying to find the end, then parsing everything in the middle.Aadhavan Srinivasan2025-05-20 12:19:59 -0500
e8eb22f3aeAdded pragmas to suppress LSP warnings; removed a random line that was added by the LSPAadhavan Srinivasan2025-05-09 23:13:31 -0500
ef1809970bGreatly shortened parseQuotedLine, because I can just use greedyParse instead of using manyTillAadhavan Srinivasan2025-05-09 23:12:53 -0500
549504d650Consume whitespace between greater-than sign and text in a blockquote lineAadhavan Srinivasan2025-05-09 23:12:12 -0500
4f23592aebAdd relevant modules to other-modules section, to get rid of cabal's warningsAadhavan Srinivasan2025-05-09 23:10:34 -0500
b00d79b9aaRenamed Test.hs to MdToHtmlTest.hs so that the filename matches the module name; updated blockquote tests; started working on ordered list testsAadhavan Srinivasan2025-05-09 23:10:04 -0500
3cd9f24935Wrote helper functions for parseBlockquote, to parse a quoted line and multiple quoted lines.Aadhavan Srinivasan2025-05-09 16:12:09 -0500
a60b3754e4Rewrite leftmostLongest and leftmostLongestParse so that they don't rely on 'head' which is a partial functionAadhavan Srinivasan2025-05-09 12:17:53 -0500
3330185393Make MdToken a Semigroup and a Monoid, so that I can use 'mempty' for it.Aadhavan Srinivasan2025-05-09 12:17:22 -0500
7fdc1bcbf1Trying to fix a bug where a header with a newline isn't recognized as a headerAadhavan Srinivasan2025-05-04 01:34:24 -0400
d771460bb1Skip spaces at beginning of line; parse a line and header separately; add a Document data constructor for MdToken (consists of the entire documentAadhavan Srinivasan2025-05-03 13:50:36 -0400
26adcbbc69Added more tests; fixed some existing tests by adding convenience functionsAadhavan Srinivasan2025-05-03 13:50:00 -0400
626eb71097Implement LeftmostLongest, renamed functions, failed parsing works now (see main function for example)Aadhavan Srinivasan2025-04-30 16:01:34 -0400