-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Let's give users a middle ground between 'compact' and 'preserve':
/**
* @fires {CustomEvent<{ component: PfeClipboard }>} copied
* Fires when the current url is successfully copied the user's system clipboard.
*
* ```js
* detail: {
* url: string
* }
* ```
*
*/console.log(parse(comment, { spacing: 'dedent' }.tags[0].description)Fires when the current url is successfully copied the user's system clipboard.
```js
detail: {
url: string
}
```this shouldn't be hard to implement, it's basically:
- get the value if spacing was 'preserve'
- run
dedentfrom 'dedent' npm package on the result
If the maintainers wish, I'm happy to make a PR
Metadata
Metadata
Assignees
Labels
No labels