orgajs
orgajs copied to clipboard
Markup Not Preserved Across Linebreaks
Bold, italic, underline, &c. elements (parsed in orga/tokenize/inline.js) are not tokenized across line breaks. E.g.
** Bold Line 1
Bold Line 2 **
does not actually return text.bold leaf nodes. Makes it difficult to apply markup to phrases or sentences. Also makes future LaTeX work (#41) harder to implement since it presumably would be implemented in inline.js.
That first line looks like headline in org-mode, not the beginning of bold text. Do you use org-mode in emacs? What does it look like there?
#104 has support for multi-line markup. As @gitonthescene mentioned, the example you gave would be interpreted as a headline, but you could do:
*Bold Line 1
Bold Line 2*
If you wanted bold text across lines.