|
@ -7,7 +7,7 @@ from panflute import stringify |
|
|
from typing import Union, Callable |
|
|
from typing import Union, Callable |
|
|
|
|
|
|
|
|
from .whitespace import NBSP |
|
|
from .whitespace import NBSP |
|
|
from .elements import FQuoted, Slanted, FLink, FileLink |
|
|
from .elements import FQuoted, Slanted, FLink, FileLink, FLineMarkup |
|
|
from .context import Group, InlineGroup, BlockGroup, Context |
|
|
from .context import Group, InlineGroup, BlockGroup, Context |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -88,6 +88,7 @@ class OutputGenerator: |
|
|
DefinitionItem: self.generate_DefinitionItem, |
|
|
DefinitionItem: self.generate_DefinitionItem, |
|
|
DefinitionList: self.generate_DefinitionList, |
|
|
DefinitionList: self.generate_DefinitionList, |
|
|
Div: self.generate_Div, |
|
|
Div: self.generate_Div, |
|
|
|
|
|
FLineMarkup: self.generate_FLineMarkup, |
|
|
Figure: self.generate_Figure, |
|
|
Figure: self.generate_Figure, |
|
|
Header: self.generate_Header, |
|
|
Header: self.generate_Header, |
|
|
HorizontalRule: self.generate_HorizontalRule, |
|
|
HorizontalRule: self.generate_HorizontalRule, |
|
@ -462,6 +463,9 @@ class OutputGenerator: |
|
|
def generate_Div(self, e: Div): |
|
|
def generate_Div(self, e: Div): |
|
|
self.generate_simple_tag(e) |
|
|
self.generate_simple_tag(e) |
|
|
|
|
|
|
|
|
|
|
|
def generate_FLineMarkup(self, e: FLineMarkup): |
|
|
|
|
|
self.generate_Div(e) |
|
|
|
|
|
|
|
|
def generate_Header(self, e: Header): |
|
|
def generate_Header(self, e: Header): |
|
|
self.generate_simple_tag(e) |
|
|
self.generate_simple_tag(e) |
|
|
|
|
|
|
|
|