Broken project to implement a cross-protocol browser in textual
Diffstat (limited to 'mime/gemtext.py')
| -rw-r--r-- | mime/gemtext.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mime/gemtext.py b/mime/gemtext.py index 9436d3f..1f1cdfb 100644 --- a/mime/gemtext.py +++ b/mime/gemtext.py @@ -32,9 +32,14 @@ class Gemtext(Static): count = line.split(' ')[0][0:3].count("#") w = Static(line.lstrip("#"), markup=False, classes="header h"+str(count)) self.mount(w) + elif line.startswith(">"): + self.mount(Quote(line, markup=False)) else: self.mount(Static(line, markup=False)) +class Quote(Static): + pass + class Preformatted(Container): pass |