You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
505 B
24 lines
505 B
3 years ago
|
# Using CSS selectors on Markdown in JS
|
||
|
|
||
|
This is a source code repository for the blog post
|
||
|
|
||
|
<https://peterbabic.dev/blog/using-css-selectors-on-markdown>
|
||
|
|
||
|
## Setup
|
||
|
|
||
|
```bash
|
||
|
git clone https://git.peterbabic.dev/demo/arrays-svelte-localstorage.git
|
||
|
cd arrays-svelte-localstorage
|
||
|
npm install
|
||
|
npm run start
|
||
|
```
|
||
|
|
||
|
Now navigate to <http://localhost:5000/>. You should be able to persist
|
||
|
data in the array after the refresh, as seen below.
|
||
|
|
||
|
![Data in the array persist after refresh](./demo.gif)
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT
|