Format Markdown with Prettier too

This commit is contained in:
Nikita Karamov 2023-03-16 12:21:26 +01:00
parent 2c9f5c11f0
commit 5413d7c5a1
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD
4 changed files with 3 additions and 7 deletions

View file

@ -9,7 +9,6 @@ max_line_length = 80
trim_trailing_whitespace = true
[*.md]
indent_size = 2
indent_style = space
max_line_length = off
trim_trailing_whitespace = false

View file

@ -1,4 +1,3 @@
*.md
/dist/
/.vercel/
pnpm-lock.yaml

View file

@ -1,4 +0,0 @@
{
"quoteProps": "consistent",
"trailingComma": "es5"
}

View file

@ -7,7 +7,9 @@
Or, open this page with the prefilled `text` URL parameter—it will be automatically inserted into the text field. The same goes for the `instance` URL parameter. This can be used to build custom share buttons for the federated social networks:
```html
<a href="https://s2f.kytta.dev/?text=Hello%20world!&instance=https%3A%2F%2Fmastodon.xyz">
<a
href="https://s2f.kytta.dev/?text=Hello%20world!&instance=https%3A%2F%2Fmastodon.xyz"
>
Share on mastodon.xyz
</a>
```