This commit is contained in:
Justine Pelletreau
2022-03-17 00:58:36 +01:00
parent d4a4d028bf
commit 50a4def2a6
8 changed files with 185 additions and 28 deletions

View File

@ -1,12 +1,28 @@
# squip_notes
! Work in progress !
This is a *very* basic notes-taking program. It uses python with flask and pickle, to give a really light and simple web interface for note taking.
It uses the [dracula](https://github.com/dracula/dracula-theme) colors.
![Screenshot of the application](./squipnotes.png)
## Changing the code syntax highlight theme
* Install pygmentyze (must be in your path):
```
python3 pip install pygmentize
```
* List available themes in a python shell:
```python
from pygments.styles import STYLE_MAP
print(STYLE_MAP.keys())
```
* Choose one, dracula for example
* Generate the CSS from your bash/zsh/cmd... shell in a styles.css file:
```bash
pygmentize -S dracula -f html -a .codehilite > styles.css
```
* Replace all css for .codehilite in src/static/main.css with what's in styles.css
## Future features, todo
* A squirrel ascii picture somewhere in the page :3
* Less ugly colors and font
* Better syntax coloring and markdown rendering in general