thibaud frere commited on
Commit ·
a153fdf
1
Parent(s): 72cfb5a
update
Browse filesFiles changed (2)
40 unmodified lines4142434444454647484940 unmodified lines
**Block**
Affichage en bloc, voir l'exemple ci-dessous.$$\mathrm{Attention}(Q,K,V)=\mathrm{softmax}\!\left(\frac{QK^\top}{\sqrt{d_k}}\right) V$$
<small className="muted">Example</small>```mdx54 unmodified lines55565758585960612 unmodified lines6465666768676869707154 unmodified lines/* Rehype-injected wrapper for non-Shiki pre blocks */.code-card { position: relative; }.code-card .code-copy { position: absolute; top: 6px; right: 6px; z-index: 3; padding: 6px 12px; position: absolute; top: 6px; right: 6px; z-index: 3; padding: 6px 12px; border: none;}.code-card .code-copy svg { width: 16px; height: 16px; display: block; fill: currentColor; }.code-card pre { margin: 0; margin-bottom: var(--spacing-1);}2 unmodified lines.code-card::after { content: attr(data-language); position: absolute; top: 8px; /* default, aligns with copy button */ right: 8px; top: 8px; right: 56px; /* leave room for copy button */ font-size: 10px; line-height: 1; text-transform: uppercase;app/src/content/chapters/available-blocks.mdx+3-1
app/src/styles/components/_code.css+3-3