added text types
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user