fix(prettier): white space in mdx files

This commit is contained in:
Stefan Imhoff
2023-04-05 12:51:45 +02:00
parent 7e4e1304e6
commit b63299944c
3 changed files with 24 additions and 24 deletions

View File

@@ -14,7 +14,7 @@
"trailingComma": "es5",
"overrides": [
{
"files": "*.md",
"files": ["*.md", "*.mdx"],
"options": {
"singleQuote": false,
"tabWidth": 2

View File

@@ -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. Dont 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

View File

@@ -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 <q>what this person is focused on at this point in their life.</q>
- 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