Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Unify file name in code blocks #81

Merged
2 commits merged into from
Nov 13, 2021

Conversation

gingerchew
Copy link
Contributor

Adds leading file names to code blocks where possible:

In some parts of the documentation, specifically the config.md, there was no consistency in the usage of leading comments to declare the file that was being "edited" in the code block example.

// slinkity.config.js <- this

This just adds that leading comment to the code blocks that I found where it made sense to put it.

On the config.md page only the slinkity code blocks had the leading

```js
// slinkity.config.js
```

comment to identify which file was being edited.

This commit adds that comment to the other code blocks for their
respective file names.
Now the suggested file path is explicitly added to the front
of the code block. Since this is the only solid code
block this could be added to, its just a small commit :)
@netlify
Copy link

netlify bot commented Nov 11, 2021

✔️ Deploy Preview for slinkity ready!

🔨 Explore the source changes: c737563

🔍 Inspect the deploy log: https://app.netlify.com/sites/slinkity/deploys/618d79420981ef00070543b5

😎 Browse the preview: https://deploy-preview-81--slinkity.netlify.app

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for adding this! 👏

@ghost ghost merged commit 72b8aa2 into slinkity:main Nov 13, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant