Comments (4)
Hi @f-amine ! I'm glad you eventually got this working!
Would you like to make a PR to add this information yourself to the docs page? I could see adding it to the bottom of the page, in the Prettier section, maybe like:
####
Prettier for Neovim
To configure Prettier for Astro in Neovim, use the following configuration:
"prettier": {
"astroAllowShorthand": true,
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
],
"pluginSearchDirs": [
"."
],
"plugins": [
"prettier-plugin-astro"
]
}
Do you think this would be a helpful addition? If so, I'd be happy to receive a PR to the docs page!
from docs.
Okey I can do that, I'm gonna look for the specific file for that and make a PR right now
from docs.
Amazing @f-amine - Quick tip - you can just go to that page in docs and click "edit this page" and you'll be taken right there! 🙌
from docs.
sent a pr, thanks for the fast reply !!
from docs.
Related Issues (20)
- Middleware: unclear that reading cookies/headers behaviour HOT 1
- Improve documentation on fallback content for slots HOT 3
- Unclear refactoring task
- Script Tag CDNs with View Transitions HOT 1
- `prose-p:text-justify` makes recipe less usable HOT 1
- ⚠️ Issue @astro/mdx keeps crushing due to rehype dependency HOT 3
- Document `?url` usage in Imports docs HOT 2
- Tutorial says that the rss.xml can't be seen in development but it actually can be HOT 2
- There are many ways to create a blog with Astro. How to choose one? HOT 1
- ⚠️ Issue: Cannot find module '/app/dist/server/entry.mjs' HOT 1
- Add a tip telling the user that anchor elements are not affected by base config
- ⚠️ Issue, error in Foreign key in schema HOT 1
- Missing results for query "rtl" HOT 4
- 💡 Idea HOT 2
- Docs doesn't specify that `import.meta.env` is evaluated at build time with SSR adapter. HOT 2
- I tried using export $(cat .env) && astro build and it doesn't work HOT 1
- Image not found when file name contains a space HOT 1
- Add documentation regarding usage of `style` tags in components containing `html` tags (i.e. layout components) HOT 4
- On-demand Rendering Adapters @ Cookies examples are not working - Correct implementation provided HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.