NickyMeuleman / nicky-blog

https://nickymeuleman.netlify.app/
GNU General Public License v3.0
14 stars 6 forks source link

Remove whitespace in mdx posts #167

Open NickyMeuleman opened 1 year ago

NickyMeuleman commented 1 year ago

Right now, many blogposts in .mdx files (located in data/posts and data/garden) have whitespace between components.

This was needed in mdx1. Since the move to mdx2, there are now unnecessary and can be removed.

Example before:

<Aside>

something here

</Aside>

Example after:

<Aside>
something here
</Aside>

Please visit the pages these posts create and confirm they did not break. Example: An .mdx file in data/posts/multithreading-rust/index.mdx creates the page at the URL /blog/multithreading-rust

NickyMeuleman commented 1 year ago

instructions to run locally:

  1. fork this repo
  2. git clone your fork locally
  3. install dependencies with npm i --legacy-peer-deps
  4. run in development with npm run dev