mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 01:10:15 -04:00
c2fe11850d
Add the ability to embed code samples from GitHub into tutorials, so we can have a single source of truth for the source code. Introduces the <$CodeSample /> syntax, which is a special syntax and not a real React component (see the directives/README.md for why on earth I did it this way -- in this specific case, CodeHike adjusts the MDX syntax tree before it gets compiled, and we need to adjust it ourselves before CodeHike sees it, so we need to get down to the level of manipulating the AST in order to make this work with CodeHike). Adjusted one of the example tutorials to use this new feature as a test.
4 lines
103 B
Markdown
4 lines
103 B
Markdown
# Internal fixtures for examples
|
|
|
|
This directory contains some fixtures for internal testing purposes.
|