From aed4659a06c352d6a0d4b6612a4c6764b0a4f184 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 18 Mar 2024 19:36:47 -0400 Subject: [PATCH] added text types --- src/textnode.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/textnode.py b/src/textnode.py index fb07681..9ab19c9 100644 --- a/src/textnode.py +++ b/src/textnode.py @@ -1,3 +1,10 @@ +text_type_text = "text" +text_type_bold = "bold" +text_type_italic = "italic" +text_type_code = "code" +text_type_link = "link" +text_type_image = "image" + class TextNode: def __init__(self, text, text_type, url=None) -> None: self.text = text