Skip to content

Instantly share code, notes, and snippets.

@fchasen
Last active January 9, 2018 04:29
Show Gist options
  • Save fchasen/dffdfefe32693159940c29d80df027a5 to your computer and use it in GitHub Desktop.
Save fchasen/dffdfefe32693159940c29d80df027a5 to your computer and use it in GitHub Desktop.
Flow brainstorming
let flow = new Flow("#someid");
let page = flow.pages(":first");
page.toRange();
let words = flow.pages().sentences(":last").words(-3);
words.wrap("<span class='no-break'>");
words.breakBefore();
words.breakAfter();
word.get(":last").insertAfter("!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment