bennyboer / thaw

Hierarchical organizable and versionable document tool with export to PDF
MIT License
4 stars 1 forks source link

Formatting is not taken over for thingy producing text #34

Closed bennyboer closed 4 years ago

bennyboer commented 4 years ago

When having something like:

**On page #PAGE#**

On page will be rendered bold as expected, but the page number will not be bold. Probably can be done when doing #6.

bennyboer commented 4 years ago

To do this we will change how the FormattedNode works: When we encounter a FormattedNode, we apply the styles to the DocumentNode representing the FormattedNode directly. Therefore we need to probably add another style property to denote underlined text, for italic and bold there are already options. Additionally the TextElementExporer needs to undergo some modifications.