Skip to content

Commit

Permalink
Fix docs description about code title
Browse files Browse the repository at this point in the history
  • Loading branch information
kohheepeace committed Mar 23, 2020
1 parent 1316222 commit 13e024f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/docs/markdown-features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,9 @@ function MyComponent(props) {
export default MyComponent;
```
### Code Title
You can add title to code block by addding `title` key after the language meta string (leave a space after the language).
### Code title
You can add title to code block by adding `title` key after the language (leave a space between them).
```jsx title="src/components/HelloCodeTitle.js"
function HelloCodeTitle(props) {
Expand Down

0 comments on commit 13e024f

Please sign in to comment.