jessegrosjean / foldingtext-for-atom

Outline editor with productivity features (No longer in development)
Other
40 stars 10 forks source link

Translate OPML _note attributes paragraphs to child nodes ? #53

Open RobTrew opened 9 years ago

RobTrew commented 9 years ago

Many applications use a _note attribute to hold a series of one or more paragraphs in OPML exports.

It would be helpful for the OPML-FTML importer to look out for _note attributes, and translate them into a series of child nodes, rather than placing the incoming text in a data- attribute.

If there are users who are accustomed to the item+note pattern, and who wish to make use of it in their FT3 stylesheets or exports to OPML, perhaps one could consider flagging the derived child nodes with a data-type="note" attribute, and possibly providing a keyboard shortcut to assign that status to selected nodes ?