Skip to content

Commit

Permalink
add scss syntax highlighter, add sanitize option in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ersaldyraisha committed Jul 4, 2017
1 parent f72057a commit 8320028
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 19 deletions.
2 changes: 1 addition & 1 deletion assets/js/main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions dev/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,6 @@
})
}])

app.run(['$rootScope', '$templateCache', ($rootScope, $templateCache) => {
$rootScope.$on('$routeChangeStart', (event, next, current) => {
if (typeof(current) !== 'undefined'){
$templateCache.remove(current.templateUrl)
}
})
}])


}
}
Expand Down
2 changes: 1 addition & 1 deletion module/css1.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>
<div class="bzg_c" data-col="l7" data-sticky>

```
```css
selector {
@include thing1;
@include thing2;
Expand Down
2 changes: 1 addition & 1 deletion module/css11.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Don't use CSS @import<
## Don't use CSS @import
<div class="bzg">
<div class="bzg_c" data-col="l5" data-sticky>

Expand Down
2 changes: 1 addition & 1 deletion module/css12.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div class="bzg_c" data-col="l7" data-sticky>

```
```css
/* NO! */
div {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion module/css2.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</div>
<div class="bzg_c" data-col="l7" data-sticky>

```
```css
// Bad
ul {
li {
Expand Down
2 changes: 1 addition & 1 deletion module/css4.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<div class="bzg_c" data-col="l7" data-sticky>

```
```css
// Bad
a{
prop: value;
Expand Down
2 changes: 1 addition & 1 deletion module/css8.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
<div class="bzg_c" data-col="l7" data-sticky>

```
```css
// NO!
h1 {
text-decoration: underline;
Expand Down
2 changes: 1 addition & 1 deletion module/css9.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

</div>
<div class="bzg_c" data-col="l7" data-sticky>
```
```css
/* NO! */
.highlight {
float: left;
Expand Down
2 changes: 1 addition & 1 deletion module/html1.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>
<div class="bzg_c" data-col="l7" data-sticky>

```
```css
&lt;!-- Bad -->
&lt;a data-attribute="link" href="..." id='link' class="link" title="my link">Link&lt;/a>

Expand Down
4 changes: 2 additions & 2 deletions module/html5.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Secara semantic dan accessibility, tiap input harus memiliki label, meskipun secara design label digantikan oleh placeholder.
#### Contoh: Form tanpa label

<form>
<!-- <form>
<div class="form-row">
<label class="sr-only" for="exForm1">Username</label>
<input class="form-input" id="exForm1" type="text" placeholder="Username">
Expand All @@ -14,7 +14,7 @@
<label class="sr-only" for="exForm2">Password</label>
<input class="form-input" id="exForm2" type="password" placeholder="Password">
</div>
</form>
</form> -->

</div>
<div class="bzg_c" data-col="l7" data-sticky>
Expand Down

0 comments on commit 8320028

Please sign in to comment.