Update templates
This commit is contained in:
34
snippets/python/story-template.md
Normal file
34
snippets/python/story-template.md
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
title: My amazing story
|
||||
shortTitle: Amazing story
|
||||
type: story
|
||||
language: python
|
||||
tags: [list]
|
||||
cover: image
|
||||
excerpt: A short summary of your story up to 140 characters long.
|
||||
dateModified: 2021-06-13T05:00:00-04:00
|
||||
---
|
||||
|
||||
Explain briefly what the snippet does.
|
||||
|
||||
- Explain briefly how the snippet works.
|
||||
- Use bullet points for your snippet's explanation.
|
||||
- Try to explain everything briefly but clearly.
|
||||
|
||||
```html
|
||||
<div class="my-snippet"></div>
|
||||
```
|
||||
|
||||
```css
|
||||
.my-snippet {
|
||||
background-color: #fff;
|
||||
border: 1px solid #000;
|
||||
border-radius: 4px;
|
||||
}
|
||||
```
|
||||
|
||||
```js
|
||||
console.log(
|
||||
"This is optional, if your snippet doesn't require JavaScript, be sure to delete this block!"
|
||||
)
|
||||
```
|
||||
Reference in New Issue
Block a user