From b63299944c5bbd8f30806a903c178d70ac2fd6bc Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Wed, 5 Apr 2023 12:51:45 +0200 Subject: [PATCH] fix(prettier): white space in mdx files --- .prettierrc.json | 2 +- src/pages/colophon.mdx | 28 ++++++++++++++-------------- src/pages/now.mdx | 18 +++++++++--------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 9f9874f..9d42296 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -14,7 +14,7 @@ "trailingComma": "es5", "overrides": [ { - "files": "*.md", + "files": ["*.md", "*.mdx"], "options": { "singleQuote": false, "tabWidth": 2 diff --git a/src/pages/colophon.mdx b/src/pages/colophon.mdx index 520d975..59a837e 100644 --- a/src/pages/colophon.mdx +++ b/src/pages/colophon.mdx @@ -4,26 +4,26 @@ title: Colophon intro: In publishing, a colophon is a brief statement containing information about the publication. --- -import { mapping } from '../mdx-components.ts'; +import { mapping } from "../mdx-components.ts"; export const components = mapping; The source code of this website is available on [GitHub](https://github.com/kogakure/website-astro-stefanimhoff.de). You are welcome to learn from the source code and reuse code for your projects. Don’t steal it. Learn from it. Remix. Reuse. Build your own things. 🤘 ## Design -- I designed the website myself in [Affinity Designer](https://affinity.serif.com/designer/), using the Japanese art form of _shibui_ (渋い) as a source of inspiration. To learn more about the process, please read the essays about the [inspiration](/new-website-2020-inspiration/) and [design](/new-website-2020-design/). -- The design uses the variable typeface [Secuela](https://fontlibrary.org/en/font/secuela-variable) by [deFharo](https://github.com/defharo). I use a font scale that is based on the golden ratio, and the font scales automatically to the viewport size. -- The Bonsai image on my homepage took [Norio Nakayama](https://www.flickr.com/photos/norio-nakayama/9156103138). -- The minimalistic icons are by [Remix Icon](https://remixicon.com/), which is [Jimmy Cheung](https://github.com/xiaochunjimmy) and [Wendy Gao](https://github.com/wendygaoyuan). +- I designed the website myself in [Affinity Designer](https://affinity.serif.com/designer/), using the Japanese art form of _shibui_ (渋い) as a source of inspiration. To learn more about the process, please read the essays about the [inspiration](/new-website-2020-inspiration/) and [design](/new-website-2020-design/). +- The design uses the variable typeface [Secuela](https://fontlibrary.org/en/font/secuela-variable) by [deFharo](https://github.com/defharo). I use a font scale that is based on the golden ratio, and the font scales automatically to the viewport size. +- The Bonsai image on my homepage took [Norio Nakayama](https://www.flickr.com/photos/norio-nakayama/9156103138). +- The minimalistic icons are by [Remix Icon](https://remixicon.com/), which is [Jimmy Cheung](https://github.com/xiaochunjimmy) and [Wendy Gao](https://github.com/wendygaoyuan). ## Technology -- The website is built with [Astro](https://astro.build/), the all-in-one web framework. -- I write the code in [Neovim](https://neovim.io/), using [GitHub Copilot](https://github.com/features/copilot). -- My essays are written in [MDX](https://mdxjs.com/), which allows the usage of components in the [Markdown](https://daringfireball.net/projects/markdown/) content. -- The layouts, templates, and components are written in Astro with a few sprinkles of [Svelte](https://svelte.dev/) here and there. -- I use [Tailwind CSS](https://tailwindcss.com/) for my styling. -- The website is hosted on Netlify. -- TODO: JS Libraries -- TODO: Astro Plugins -- TODO: Components Examples +- The website is built with [Astro](https://astro.build/), the all-in-one web framework. +- I write the code in [Neovim](https://neovim.io/), using [GitHub Copilot](https://github.com/features/copilot). +- My essays are written in [MDX](https://mdxjs.com/), which allows the usage of components in the [Markdown](https://daringfireball.net/projects/markdown/) content. +- The layouts, templates, and components are written in Astro with a few sprinkles of [Svelte](https://svelte.dev/) here and there. +- I use [Tailwind CSS](https://tailwindcss.com/) for my styling. +- The website is hosted on Netlify. +- TODO: JS Libraries +- TODO: Astro Plugins +- TODO: Components Examples diff --git a/src/pages/now.mdx b/src/pages/now.mdx index 1242879..9b3e589 100644 --- a/src/pages/now.mdx +++ b/src/pages/now.mdx @@ -3,16 +3,16 @@ layout: ../layouts/PageLayout.astro title: Now --- -import { mapping } from '../mdx-components.ts'; +import { mapping } from "../mdx-components.ts"; export const components = mapping; This is my [Now](https://nownownow.com/) page, an idea by [Derek Silvers](https://sive.rs/) for a website with the focus of what this person is focused on at this point in their life. -- Building the Design System of XING -- Working from home -- Learning Japanese, Spanish, and Korean on [Duolingo](https://www.duolingo.com/profile/kogakure) -- Creating AI Art with [Stable Diffusion](https://stability.ai/blog/stable-diffusion-public-release), I post my best work on [Instagram](https://www.instagram.com/kogakure.ai.art/) -- Learning to tie [knots](https://www.animatedknots.com/) -- Creating and reviewing highlights with [Readwise](https://readwise.io/i/stefan805) every day -- Connecting ideas with the [Zettelkasten](https://en.wikipedia.org/wiki/Zettelkasten) note-taking methods, using [Obsidian](https://obsidian.md/) -- Always reading at least two or three [books](https://www.goodreads.com/kogakure) at the same time +- Building the Design System of XING +- Working from home +- Learning Japanese, Spanish, and Korean on [Duolingo](https://www.duolingo.com/profile/kogakure) +- Creating AI Art with [Stable Diffusion](https://stability.ai/blog/stable-diffusion-public-release), I post my best work on [Instagram](https://www.instagram.com/kogakure.ai.art/) +- Learning to tie [knots](https://www.animatedknots.com/) +- Creating and reviewing highlights with [Readwise](https://readwise.io/i/stefan805) every day +- Connecting ideas with the [Zettelkasten](https://en.wikipedia.org/wiki/Zettelkasten) note-taking methods, using [Obsidian](https://obsidian.md/) +- Always reading at least two or three [books](https://www.goodreads.com/kogakure) at the same time