1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/CliClient/tests/enex_to_md/text_formatting.md
J0J0 T b47cb4e29a Desktop, Cli: Improved bold formatting support in Enex import (#1708)
* Dekstop,CLI: enex_to_md: add html/md test file pairs

* one pair for basic text formatting tags: strong, b, i, em
* and one using span tags with inline styles for bold formatting

Note: The html files include the Evernote-typical "linebreak tags inside of separate <div> tags"
to represent empty lines!

* Desktop,Cli: enex_to_md: support bold in span tags using inline styles

* function isSpanWithStyle() checks if further processing of a span tag
  makes sense
* function isSpanStyleBold() checks if bold formatting via styles is
  used - a similar function could be written for each span-inline-style-format
  that should be supported

* Desktop,Cli: enex_to_md: fix saving span attrs in state object

pushing attributes of span tag to state object now
happens outside of isSpanWithStyle()
2019-07-29 12:25:25 +02:00

502 B

singleline strong text.

singleline bold text.

multiline strong text.

multiline bold text.

singleline emphasized text.

singleline italic text.

multiline emphasized text.

multiline italic text.

singleline bold text next to normal text with leading space.

**singleline bold text with trailing space **next to normal text.

singleline bold text** next to more bold text with leading space.**

**singleline bold text with trailing space **next to more bold text.