Skip to content

Remove spaces between triple backticks and the language #1019

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/guide/a11y-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You should add a link at the top of each page that goes directly to the main con

Typically this is done on the top of `App.vue` as it will be the first focusable element on all your pages:

``` html
```html
<ul class="skip-links">
<li>
<a href="#main" ref="skipLink">Skip to main content</a>
Expand All @@ -22,7 +22,7 @@ Typically this is done on the top of `App.vue` as it will be the first focusable

To hide the link unless it is focused, you can add the following style:

``` css
```css
.skipLink {
white-space: nowrap;
margin: 1em auto;
Expand All @@ -42,7 +42,7 @@ To hide the link unless it is focused, you can add the following style:

Once a user changes route, bring focus back to the skip link. This can be achieved by calling focus to the `ref` provided below:

``` vue
```vue
<script>
export default {
watch: {
Expand Down
2 changes: 1 addition & 1 deletion src/guide/component-edge-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ However, if you've ruled out the above and find yourself in this extremely rare

Rendering plain HTML elements is very fast in Vue, but sometimes you might have a component that contains **a lot** of static content. In these cases, you can ensure that it's only evaluated once and then cached by adding the `v-once` directive to the root element, like this:

``` js
```js
app.component('terms-of-service', {
template: `
<div v-once>
Expand Down
Loading