thibaud frere commited on
Commit
0bf76e8
·
1 Parent(s): 29ca47d

update doc

Browse files
app/src/content/chapters/components.mdx CHANGED
@@ -225,7 +225,12 @@ For researchers who want to stay in **Python** while targeting **D3**, the [d3bl
225
  | `align` | No | Aligns the title/description text. One of `left` (default), `center`, `right`.
226
  | `id` | No | Adds an `id` to the outer figure for deep-linking and cross-references.
227
 
228
- <Note>You can refer to a chart by creating a link to it `<a href="#neural-network-mnist-like">like his</a>`. All you need to do is to give him a name like that `<HtmlEmbed id="neural-network-mnist-like"/>`. <a href="#neural-network-mnist-like">Fig 1</a></Note>
 
 
 
 
 
229
 
230
  <Accordion title="Code example">
231
  ```mdx
 
225
  | `align` | No | Aligns the title/description text. One of `left` (default), `center`, `right`.
226
  | `id` | No | Adds an `id` to the outer figure for deep-linking and cross-references.
227
 
228
+ <Note emoji="💡">
229
+ You can refer to a chart by giving it a name and pointing to it with a link.
230
+ -> `<a href="#neural-network-mnist-like">like his</a>`
231
+ -> `<HtmlEmbed id="neural-network-mnist-like"/>`
232
+ Live example: <a href="#neural-network-mnist-like">Fig 1</a>
233
+ </Note>
234
 
235
  <Accordion title="Code example">
236
  ```mdx