framer-moreutils
framer-moreutils copied to clipboard
Multiline support for toMarkdown()
Support for strings with line breaks for the toMarkdown() function. (Framer keeps every line in a separate <div/>, thus a loop is needed.)
I basically changed one line and adjusted the intendation of the toMarkdown() function. All the other changed lines are probably caused by Atom editor, sorry about that.
- el = textLayer._element.children[1].children[0].children[0]
- for line in textLayer._element.children[1].children
- el = line.children[0]