Skip to content

Commit ddd87e1

Browse files
authored
how-jquery-works: Fix markdown inside div
Fixes #813.
1 parent f2baa77 commit ddd87e1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

page/about-jquery/how-jquery-works.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ This is a basic tutorial, designed to help you get started using jQuery. If you
2828

2929
The `src` attribute in the `<script>` element must point to a copy of jQuery. Download a copy of jQuery from the [Downloading jQuery](http://jquery.com/download/) page and store the `jquery.js` file in the same directory as your HTML file.
3030

31-
<div class="warning">**Note**: When you download jQuery, the file name may contain a version number, e.g., `jquery-x.y.z.js`. Make sure to either rename this file to `jquery.js` or update the `src` attribute of the `<script>` element to match the file name.</div>
31+
<div class="warning">
32+
**Note**: When you download jQuery, the file name may contain a version number, e.g., `jquery-x.y.z.js`. Make sure to either rename this file to `jquery.js` or update the `src` attribute of the `<script>` element to match the file name.
33+
</div>
3234

3335
### Launching Code on Document Ready
3436

@@ -53,7 +55,9 @@ $( document ).ready(function() {
5355
});
5456
```
5557

56-
<div class="warning">**Note**: The jQuery library exposes its methods and properties via two properties of the <code>window</code> object called <code>jQuery</code> and <code>$</code>. <code>$</code> is simply an alias for <code>jQuery</code> and it's often employed because it's shorter and faster to write.</div>
58+
<div class="warning">
59+
**Note**: The jQuery library exposes its methods and properties via two properties of the <code>window</code> object called <code>jQuery</code> and <code>$</code>. <code>$</code> is simply an alias for <code>jQuery</code> and it's often employed because it's shorter and faster to write.
60+
</div>
5761

5862
For example, inside the `ready` event, you can add a click handler to the link:
5963

0 commit comments

Comments
 (0)