Skip to content

Commit

Permalink
fix line numbers of codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
bates64 committed Sep 29, 2023
1 parent 25316ce commit 4866c29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mkdir directory_name

Let's create a basic HTML file like the following example. Please notice the CheerpJ runtime environment has been integrated and initialized. In this example we are assuming your HTML file and your `.jar` files are under the project directory you just created.

```html title="index.html" {6, 9-16}
```html title="index.html" {6, 9-13}
<!doctype html>
<html lang="en">
<head>
Expand Down
11 changes: 5 additions & 6 deletions src/content/docs/cheerpj3/03-getting-started/01-Java-applet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CheerpJ can run Java applets in the browser seamlessly. This page will help you

### 1. Create a basic HTML file

```html title="index.html" {6, 9-15, 17-22}
```html title="index.html" {6, 9-17}
<!doctype html>
<html lang="en">
<head>
Expand All @@ -35,12 +35,11 @@ CheerpJ can run Java applets in the browser seamlessly. This page will help you
code="ExamplePath.ExampleApplet"
height="900"
width="900"
>
</cheerpj-applet>
></cheerpj-applet>
<script type="module">
await cheerpjInit();
</script>
</body>
<script type="module">
await cheerpjInit();
</script>
</html>
```

Expand Down

0 comments on commit 4866c29

Please sign in to comment.