-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
superfluous new lines in some code blocks #2068
Comments
ditto this page: https://knative.dev/docs/serving/cluster-local-route/ |
Most of the docs look like this were shell is used: ```shell To get it to show up without the extra spacing other sections use: ``` I think either we would have to change all of the Any ideas? |
@mpetason agreed, I think this is a larger question about whether or not we use fenced code blocks. Let's take it to a WG call and figure it out before we tackle this. We should do a review of the whole site to make this consistent once we've decided a style. |
This seems to be something about the <pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">kubectl label kservice <span style="color:#4e9a06">${</span><span style="color:#000">KSVC_NAME</span><span style="color:#4e9a06">}</span> networking.knative.dev/visibility<span style="color:#ce5c00;font-weight:bold">=</span>cluster-local
</code></pre> |
Not sure what the cause is but the syntax highlighting configuration is here that you might be able to play with and fix/remove the extra line: https://gohugo.io/content-management/syntax-highlighting/ |
Code blocks in https://knative.dev/docs/serving/accessing-traces/ page have trailing new line
The text was updated successfully, but these errors were encountered: