# block-structure.ts

**[Source](https://github.com/ubugeeei-prod/ox-content/blob/main/npm/vite-plugin-ox-content/src/plugins/block-structure.ts)**

> 2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

<div class="ox-api-stats" aria-label="API reference summary">
<span class="ox-api-stat">
  <strong>2</strong>
  <span>symbols</span>
</span>
<span class="ox-api-stat">
  <strong>1</strong>
  <span>functions</span>
</span>
<span class="ox-api-stat">
  <strong>1</strong>
  <span>variables</span>
</span>
<span class="ox-api-stat">
  <strong>1</strong>
  <span>returns</span>
</span>
</div>

## Reference

<div class="ox-api-controls" data-ox-api-target=".ox-api-entry" role="toolbar" aria-label="Reference display controls">
<button type="button" class="ox-api-controls__button" data-ox-api-toggle="expand">Open all</button>
<button type="button" class="ox-api-controls__button" data-ox-api-toggle="collapse">Close all</button>
</div>

<details id="blockembedtags" class="ox-api-entry">
  <summary><span class="ox-api-entry__kind">fn</span><span class="ox-api-entry__summary-main"><code class="ox-api-entry__signature ox-api-entry__signature--highlighted language-typescript">blockEmbedTags(): Promise&lt;ReadonlySet&lt;string&gt;&gt;</code><span class="ox-api-entry__description">Every tag whose embed is a block, taken from the registry rather than copied. A…</span><span class="ox-api-entry__meta"><span class="ox-api-badge">returns Promise&lt;ReadonlySet&lt;string&gt;&gt;</span></span></span></summary>
  <div class="ox-api-entry__body">
<div class="ox-api-entry__prose">
<p>Every tag whose embed is a block, taken from the registry rather than copied.</p>
<p>A hand-kept copy drifts, and the drift is not cosmetic: the seven providers added after this list was written -- <code>note</code> among them -- stayed inside their paragraph, and a card whose outer element is an <code>&lt;a&gt;</code> wrapping <code>&lt;div&gt;</code>s does not survive that. The parser closes the paragraph at the first <code>&lt;div&gt;</code> and reopens the anchor around each block it held, so one card came out as an empty link followed by three underlined ones with no card chrome at all.</p>
</div>
<div class="ox-api-entry__section ox-api-entry__section--signature">
<h4>Signature</h4>
<pre><code class="language-typescript">async function blockEmbedTags(): Promise&lt;ReadonlySet&lt;string&gt;&gt;</code></pre>
</div>
<p class="ox-api-entry__source"><a class="ox-api-entry__source-link" href="https://github.com/ubugeeei-prod/ox-content/blob/main/npm/vite-plugin-ox-content/src/plugins/block-structure.ts#L57-L65" target="_blank" rel="noopener noreferrer">View source<span class="ox-api-entry__source-icon" aria-hidden="true"></span></a></p>
<div class="ox-api-entry__section ox-api-entry__section--returns">
<h4>Returns</h4>
<div class="ox-api-entry__return">
  <code class="ox-api-entry__return-type">Promise&lt;ReadonlySet&lt;string&gt;&gt;</code>
</div>
</div>
  </div>
</details>

<details id="typescript_only_block_embed_tags" class="ox-api-entry">
  <summary><span class="ox-api-entry__kind">variable</span><span class="ox-api-entry__summary-main"><code class="ox-api-entry__signature ox-api-entry__signature--highlighted language-typescript">const TYPESCRIPT_ONLY_BLOCK_EMBED_TAGS = [&quot;github&quot;, &quot;ogcard&quot;, &quot;reddit&quot;, &quot;youtube&quot;] as const</code><span class="ox-api-entry__description">Block embeds this package owns, which the Rust provider registry cannot name. N…</span></span></summary>
  <div class="ox-api-entry__body">
<div class="ox-api-entry__prose">
<p>Block embeds this package owns, which the Rust provider registry cannot name.</p>
<p><code>NotByAI</code> is deliberately absent: the badge is an inline mark on the sentence that carries it, so lifting it out of its paragraph would break the line it belongs to.</p>
</div>
<div class="ox-api-entry__section ox-api-entry__section--signature">
<h4>Signature</h4>
<pre><code class="language-typescript">const TYPESCRIPT_ONLY_BLOCK_EMBED_TAGS = [&quot;github&quot;, &quot;ogcard&quot;, &quot;reddit&quot;, &quot;youtube&quot;] as const</code></pre>
</div>
<p class="ox-api-entry__source"><a class="ox-api-entry__source-link" href="https://github.com/ubugeeei-prod/ox-content/blob/main/npm/vite-plugin-ox-content/src/plugins/block-structure.ts#L41" target="_blank" rel="noopener noreferrer">View source<span class="ox-api-entry__source-icon" aria-hidden="true"></span></a></p>
  </div>
</details>
