Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove leading spaces on backticks to fix code formatting on ELevate CentOS 6 to CentOS 7 guide #393

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

codyro
Copy link
Member

@codyro codyro commented Apr 24, 2024

The snippet's formatting in the collapsable DETAILS section under Requirements was incorrect, leading to an invalid command being displayed. This PR removes the leading spaces in the backticks, fixing the formatting.

https://wiki.almalinux.org/elevate/ELevating-CentOS6-to-CentOS7.html#requirements

image

@codyro
Copy link
Member Author

codyro commented Apr 24, 2024

I checked this locally, and it appears to build properly (I'm not super familiar with Vuepress), however if someone can verify it renders properly before merging, that'd be great :).

<pre class="language-sh"><code>    <span class="token function">curl</span> https://repo.almalinux.org/elevate/el6/centos6-vault.repo <span class="token parameter variable">-o</span> /etc/yum.repos.d/CentOS-Base.repo
</code></pre>

@sboldyreva
Copy link
Collaborator

@codyro thanks for noticing this! with your fix the command generates correctly
image

@codyro
Copy link
Member Author

codyro commented Apr 25, 2024

Merging this in as the blog post is live now :).

@codyro codyro merged commit bc9c0b9 into AlmaLinux:master Apr 25, 2024
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.

None yet

2 participants