Skip to content

Commit

Permalink
feat(rules): update all rules to version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschmidt committed Aug 16, 2018
1 parent adb82bf commit 122d1da
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 117 deletions.
2 changes: 1 addition & 1 deletion src/components/app-home/app-home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class AppHome {
this.showRules();
}}
>
Rules version: 0.3
Rules version: 1.0.0
</a>
</p>

Expand Down
7 changes: 5 additions & 2 deletions src/components/app-rules/app-rules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ export class AppHome {
},
];

private converter = new showdown.default.Converter();
private converter = new showdown.default.Converter({
simpleLineBreaks: true,
underline: true,
});

@Method()
public showRules() {
Expand Down Expand Up @@ -89,7 +92,7 @@ export class AppHome {
<aside id="rules-dialog" class="mdc-dialog">
<div class="mdc-dialog__surface">
<header class="mdc-dialog__header">
<h2 class="mdc-dialog__header__title">Game Rules</h2>
<h1 class="mdc-dialog__header__title">Rules</h1>
</header>
<section class="mdc-dialog__body">
<div class="dialog-body">
Expand Down
Loading

0 comments on commit 122d1da

Please sign in to comment.