INNER CODE UNIT · TypeScript

text

ahmet/awesome-web3 · lib/catalog.ts:166

      const text = raw.split(/(?<=\.)\s+/)[0]?.trim() ?? raw
      if (text && !description) description = text
      continue
    }

    if (node.type === 'heading' && (node.depth === 2 || node.depth === 3)) {
      const name = textOf(node).trim()
      started = true

      if (SKIP_HEADINGS.has(name.toLowerCase())) {
        category = null
        subcategory = null
        continue
      }

      if (node.depth === 2) {
        category = name
        subcategory = null

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…