From 0ab27b528ac71f833dea25e2a774c95cea9f010a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilhem=20Faur=C3=A9?= Date: Mon, 24 Apr 2023 16:55:01 +0200 Subject: [PATCH] start syntax conversion --- spip2md/content.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spip2md/content.py b/spip2md/content.py index faf3c98..71b1fe8 100644 --- a/spip2md/content.py +++ b/spip2md/content.py @@ -1,6 +1,9 @@ +import re + class content: def __init__(self, content): - self.content = content + self.spip = content def get_markdown(self): - return self.content + markdown = self.spip + return markdown