Define Inline Node

This commit is contained in:
Preston 2025-10-15 13:32:43 -07:00
parent 253ed8dfce
commit 4672b81f6a
18 changed files with 675 additions and 655 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"C_Cpp.errorSquiggles": "disabled"
}

17
lib/inlindeNode.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef INLINENODE_H
#define INLINENODE_H
#include "node.h"
class InlineNode : public Node{
public:
InlineNode(std::string content) : content(content);
protected:
std::string content;
};
class TextNode : public InlineNode{};
class BoldNode : public InlineNode{};
class Italic : public InlineNode{};
class BoldItalic : public InlineNode{};
#endif

0
lib/inlineNode.cpp Normal file
View File