How to use the @bbob/plugin-helper/lib/TagNode.create function in @bbob/plugin-helper

To help you get started, we’ve selected a few @bbob/plugin-helper examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JiLiZART / bbob / packages / bbob-parser / src / parse.js View on Github external
const handleTagStart = (token) => {
    flushTagNodes();

    const tagNode = TagNode.create(token.getValue());
    const isNested = isTokenNested(token);

    tagNodes.push(tagNode);

    if (isNested) {
      nestedNodes.push(tagNode);
    } else {
      appendNodes(tagNode);
    }
  };
github JiLiZART / bbob / packages / bbob-preset-html5 / src / defaultTags.js View on Github external
  const createItemNode = () => TagNode.create('li');
  const ensureListItem = (val) => {