MDX 区分 inline 和 block code 的方法
Henry Hung
Published 2024-12-15 • Updated 2024-12-15 • 1.5 min read
⚠️ Table
Name | Type | Default | Description |
---|---|---|---|
Text | boolean | Text | Text |
Text | string | function | Text test | Text |
Checklist
- a task list item
- list syntax required
- normal formatting, @mentions, #1234 refs
- incomplete
- completed
Features
- 📼 text - description
- 💪 Accessible - description
- 🔧 Customizable - description
Code
htmlCopy Code<video id="player" playsinline controls data-poster="/path/to/poster.jpg"> <source src="/path/to/video.mp4" type="video/mp4" /> <source src="/path/to/video.webm" type="video/webm" /> </video>
Hyperlinks
Anchor
link with parentheses()
Blockquotes
To create a blockquote, add a > in front of a paragraph.
Dorothy followed her through many of the beautiful rooms in her castle.
yamlCopy Code... socket_address: address: docker.for.mac.localhost
Note:
a) ERROR: npm update check failed.
Solution:
shCopy Code$ sudo chown -R $USER:$(id -gn $USER) /Users/{username}/.config
b) ERROR: Node sass version 6.x.x is not compatible with ^ 4.x.x.
Solution:
shCopy Code$ npm install node-sass@4.14.1
c) If you upgrade the version of Node, please execute the following code:
shCopy Code$ sudo npm install $ sudo npm rebuild node-sass
[!NOTE] If you intend to use Feather with a CDN, you can skip this installation step.
[!WARNING] If you intend to use Feather with a CDN, you can skip this installation step.
Toggle
Click me
Heading
- Foo
- Bar
- Baz
- Qux
Some Javascript
jsCopy Codefunction logSomething(something) { console.log('Something', something); }