Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLAY]-1715 Fix Website Markdown Code Indention #4137

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
blockquote,
p {
margin: 1rem 0 0 0;
}
}
h1 {
font-size: $text_larger;
line-height: $text_larger;
Expand Down Expand Up @@ -90,8 +90,8 @@
code {
font-family: monospace;
background: $bg_light;
padding: 0.1rem 0.3rem;
margin: 0 5px;
padding: 0rem;
margin: 0;
border: 1px solid $border_light;
border-radius: 0.25rem;
overflow: hidden;
Expand Down Expand Up @@ -236,4 +236,4 @@ font-weight: $bold;
margin-top: 0px;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ yarn add playbook-ui

```json
"react": "17.0.2",
"react-dom": "17.0.2",
"react-is": "^17.0.2",
"react-trix": "0.10.1",
"react-dom": "17.0.2",
"react-is": "^17.0.2",
"react-trix": "0.10.1",
```
#### Import fonts and CSS styles
Can be imported in your Index.js file or top level app Component

```js
import 'playbook-ui/dist/fonts/fontawesome-min';
import 'playbook-ui/dist/fonts/regular-min';
import 'playbook-ui/dist/playbook.css';
import 'playbook-ui/dist/fonts/regular-min';
import 'playbook-ui/dist/playbook.css';
```
#### Import Playbook React components

Expand All @@ -32,5 +32,5 @@ import { Avatar, Button } from 'playbook-ui';
#### CodeSandbox React Setup Example
[Link to CodeSandbox Example](https://codesandbox.io/s/playbook-empty-6ixcw)

### Dependencies
### Dependencies
[More details about Playbook dependencies](/guides/getting_started/dependencies)
Loading