Feature: Implemented code blocks and list elements #30

Merged
shultzp1 merged 3 commits from feature/list-nodes into main 2025-10-28 18:19:09 -07:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 6203f9c325 - Show all commits

View File

@ -122,8 +122,8 @@ private:
std::unique_ptr<Node> ParseParagraph(); std::unique_ptr<Node> ParseParagraph();
std::unique_ptr<Node> ParseHeading(); std::unique_ptr<Node> ParseHeading();
std::unique_ptr<Node> ParseList(bool ordered); std::unique_ptr<Node> ParseList(bool ordered);
vector<std::unique_ptr<Node>> ParseInline();
std::unique_ptr<Node> ParseCodeBlock(); std::unique_ptr<Node> ParseCodeBlock();
vector<std::unique_ptr<Node>> ParseInline();
// The only differences are the exit condition // The only differences are the exit condition
vector<std::unique_ptr<Node>> ParseInlineHeading(); vector<std::unique_ptr<Node>> ParseInlineHeading();

View File

@ -116,8 +116,8 @@ public:
* *
* This node is used to wrap a code block node. When three '`' are used a * This node is used to wrap a code block node. When three '`' are used a
* code block should be created. This node's children are expected to be simple * code block should be created. This node's children are expected to be simple
* text nodes - containing no formatting at all. Since code blocks are not parsed * text nodes - containing no formatting at all. Since code blocks are not
* any deeper then their parents. * parsed any deeper then their parents.
* *
* @author Hayden Hargreaves (hhargreaves2006@gmail.com) * @author Hayden Hargreaves (hhargreaves2006@gmail.com)
*/ */