You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
3 years ago
|
---
|
||
|
title: test highlight
|
||
|
---
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"image": "filename.jpg",
|
||
|
"position": {"x": 12, "y": 97},
|
||
|
"size": {"width": 43, "height": 18},
|
||
|
"text": "Content of the annotation",
|
||
|
"timestamp": "Wed, 01 Dec 2021 14:04:00 GMT",
|
||
|
"userID": 123456789
|
||
|
}
|
||
|
```
|
||
|
|
||
|
```css
|
||
|
.highlight .kn { color: #fb660a; font-weight: bold } /* Keyword.Namespace */
|
||
|
.highlight .kp { color: #fb660a } /* Keyword.Pseudo */
|
||
|
.highlight .kr { color: #fb660a; font-weight: bold } /* Keyword.Reserved */
|
||
|
.highlight .kt { color: #cdcaa9; font-weight: bold } /* Keyword.Type */
|
||
|
.highlight .ld { color: #ffffff } /* Literal.Date */
|
||
|
.highlight .m { color: #0086f7; font-weight: bold } /* Literal.Number */
|
||
|
.highlight .s { color: #0086d2 } /* Literal.String */
|
||
|
.highlight .na { color: #ff0086; font-weight: bold } /* Name.Attribute */
|
||
|
.highlight .nb { color: #ffffff } /* Name.Builtin */
|
||
|
.highlight .nc { color: #ffffff } /* Name.Class */
|
||
|
.highlight .no { color: #0086d2 } /* Name.Constant */
|
||
|
```
|
||
|
|
||
|
```python
|
||
|
def repeat(text, times):
|
||
|
return (text * times)
|
||
|
```
|