diff --git a/onpoint/__init__.py b/onpoint/__init__.py index 3106b91..3498ab1 100644 --- a/onpoint/__init__.py +++ b/onpoint/__init__.py @@ -68,6 +68,8 @@ def compile_slide(slide): print('replace', placeholder, 'with', filler) if '@' + key in slide: slide = slide.replace(placeholder, filler) + # very unelegant attempt at inline elements + slide = re.sub(r"
(.+?)
\n\(inline\)", r"\1", slide) return slide # Parses the metadata passage of a given slide and returns the metadata as a diff --git a/test/layouts/default.html b/test/layouts/default.html index 0f17d74..59e5440 100644 --- a/test/layouts/default.html +++ b/test/layouts/default.html @@ -1,2 +1,2 @@ -