Skip to content

Commit 6807b76

Browse files
committed
feat(article): added [mark] for highlighting code
1 parent 8000b86 commit 6807b76

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

libs/route-pages/blog-portfolio/src/article.component.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ import { Subscription, of } from "rxjs";
2424
::ng-deep tbody tr:first-of-type {
2525
text-align: center;
2626
}
27+
::ng-deep mark{
28+
background-color: #A9A9A9;
29+
color: #383838;
30+
border-radius: 0.3em;
31+
padding: 0.1em 0.25em;
32+
}
2733
::ng-deep.small-img {
2834
margin: auto;
2935
width: 40%
@@ -54,7 +60,7 @@ import { Subscription, of } from "rxjs";
5460
::ng-deep.block-citation>blockquote>.paragraph:first-of-type:after {
5561
content: no-close-quote;
5662
}
57-
63+
5864
`],
5965
templateUrl: './article.component.html'
6066
})

0 commit comments

Comments
 (0)