Skip to content

Fix the indentation typo for code block#5210

Merged
sarah11918 merged 1 commit into
withastro:mainfrom
100gle:fix-indentation-typo
Oct 27, 2023
Merged

Fix the indentation typo for code block#5210
sarah11918 merged 1 commit into
withastro:mainfrom
100gle:fix-indentation-typo

Conversation

@100gle
Copy link
Copy Markdown
Contributor

@100gle 100gle commented Oct 27, 2023

Description (required)

Add the missing space to fix the indentation issue.

Related issues & labels (optional)

None

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 27, 2023

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ef9d8d9
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/653b66ae502e5300088ae3e2
😎 Deploy Preview https://deploy-preview-5210--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Copy Markdown
Member

@at-the-vr at-the-vr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is a typo, there are indentations based on similar code snippets just above this fix

@100gle 100gle force-pushed the fix-indentation-typo branch from ee6052e to ef9d8d9 Compare October 27, 2023 07:28
@100gle
Copy link
Copy Markdown
Contributor Author

100gle commented Oct 27, 2023

I don't think this is a typo, there are indentations based on similar code snippets just above this fix

Yeah, there are a lots of code snippets start with 3 spaces in Astro documentation. But it doesn't work in this content and the syntax highlighter is missing. Only 4 spaces work.

Copy link
Copy Markdown
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, great call! I know I'd checked for indentation in the bulleted list, but missed that some didn't have syntax highlighting! 🙌

@sarah11918 sarah11918 merged commit 0b15f9a into withastro:main Oct 27, 2023
@100gle 100gle deleted the fix-indentation-typo branch October 28, 2023 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants