chore(markdown): Restructuring dev docs
This commit is contained in:
parent
9ef46c502a
commit
d42d9a9377
114 changed files with 246 additions and 1462 deletions
23
markdown/dev/reference/api/settings/embed/en.md
Normal file
23
markdown/dev/reference/api/settings/embed/en.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
title: embed
|
||||
---
|
||||
|
||||
Set to `true` to make SVG output suitable for embedding in a web page.
|
||||
|
||||
This removes the `width` and `height` attributes from the SVG tag, which allows
|
||||
you to inject the SVG into an HTML document, and it will responsively scale.
|
||||
|
||||
```js
|
||||
import brian from "@freesewing/brian";
|
||||
|
||||
let pattern = new brian({
|
||||
embed: true
|
||||
})
|
||||
```
|
||||
|
||||
<Warning>
|
||||
|
||||
Do **not** use this for SVGs you want to print.
|
||||
|
||||
</Warning>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue