initial
This commit is contained in:
49
example_snippets.txt
Normal file
49
example_snippets.txt
Normal file
@@ -0,0 +1,49 @@
|
||||
# Help
|
||||
|
||||
Usage
|
||||
```plaintext
|
||||
Search at top^
|
||||
|
||||
Use Tab or click item to show code.
|
||||
Code is selected automatically, just ctrl-c or copy.
|
||||
Code is stored in a markdown file: example_snippets.txt
|
||||
|
||||
snippets syntax:
|
||||
======
|
||||
# header
|
||||
|
||||
item1
|
||||
` ``Language
|
||||
Language code
|
||||
` ``
|
||||
^ note no space in between in real life
|
||||
|
||||
item2
|
||||
` ``bash
|
||||
for e in *; do loop $e;done
|
||||
` ``
|
||||
======
|
||||
|
||||
```
|
||||
|
||||
# Python
|
||||
|
||||
Hello
|
||||
```python
|
||||
print("HELLO")
|
||||
```
|
||||
|
||||
sql
|
||||
```SQL
|
||||
SELECT
|
||||
*
|
||||
FROM {WORK.TABLE.r()}
|
||||
```
|
||||
|
||||
# Bash
|
||||
|
||||
for files
|
||||
```bash
|
||||
for e in *; do echo "$e"; done
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user