Skip to content

Commit 9720d63

Browse files
committed
improve readability
1 parent d5b928e commit 9720d63

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/userGuide/syntax/pageHead.mbdf

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Steps:
1111
{{ icon_example }} Suppose you want to insert the code below into the `<head>` of a page, and you have saved the code as **`_markbind/head/`**`myCustomLinks.md`:
1212

1313
```html{.no-line-numbers}
14-
<script src="`{{ baseUrl }}`/js/myCustomScript.js"></script>
15-
<link rel="stylesheet" href="`{{ baseUrl }}`/css/main.css">
16-
<link rel="stylesheet" href="`{{ baseUrl }}`/css/extra.css">
14+
<script src="{{ baseUrl }}/js/myCustomScript.js"></script>
15+
<link rel="stylesheet" href="{{ baseUrl }}/css/main.css">
16+
<link rel="stylesheet" href="{{ baseUrl }}/css/extra.css">
1717
```
1818

1919
To specify that you want to insert `myCustomLinks.md` into the `<head>` of `myPage.html`, update the front matter of the `myPage.md` as follows:
@@ -32,13 +32,15 @@ To specify that you want to insert `myCustomLinks.md` into the `<head>` of `myPa
3232

3333
{{ icon_example }} Here's how you can force the line `<script ... > ... </script>` to be inserted at the top of the `<head>` section.
3434

35-
```html {.no-line-numbers} {highlight-lines="1,3"}
35+
````{.no-line-numbers}
36+
```html {highlight-lines="1,3"}
3637
<head-top>
37-
<script src="`{{ baseUrl }}`/js/myCustomScript.js"></script>
38+
<script src="{{ baseUrl }}/js/myCustomScript.js"></script>
3839
</head-top>
39-
<link rel="stylesheet" href="`{{ baseUrl }}`/css/main.css">
40-
<link rel="stylesheet" href="`{{ baseUrl }}`/css/extra.css">
40+
<link rel="stylesheet" href="{{ baseUrl }}/css/main.css">
41+
<link rel="stylesheet" href="{{ baseUrl }}/css/extra.css">
4142
```
43+
````
4244

4345
</div>
4446

0 commit comments

Comments
 (0)