unicode/js/unicode-transform.js
/**
  Given some raw input text, runs all the transformations and makes some nice
  output text.
*/
Given some raw input text, runs all the transformations and makes some nice
output text.
Given some raw input text runs all the transformations and makes some nice output text .
function transform2(rawInput) {
  let nodeList = markdownAST.parse(rawInput);
  console.log("NodeList", nodeList);
  let nodeText = _.map(nodeList, textFromNode);
  return nodeText.join("");
}
function transform2 ( rawInput ) { let nodeList = markdownAST . parse ( rawInput ) ; console . log ( "NodeList" , nodeList ) ; let nodeText = _ . map ( nodeList , textFromNode ) ; return nodeText . join ( "" ) ; }
Given some raw input text, runs all the transformations and makes some nice
output text.
Given some raw input text runs all the transformations and makes some nice output text .
// get a raw list of nodes from the AST algorithm // extract text from each node // smoosh it all together