Le code de ce repository est repris de QuickRef.me
.
├── source
│ ├── _posts # Cheat sheet source files
│ │ ├── algorithmique-avance
│ │ ├── ...
│ └── widget # Widget files
│ └── chmod.html
├── public # Distribution files
├── _config.yml
├── gulpfile.js
├── package.json
├── postcss.config.js
├── tailwind.config.js
└── themes
└── coo # Theme files
- Clone Github repo
git clone https://github.com/AlexisL61/EnsiRef.git
- Install
npm
package manager (Read installation guide) - Run
npm install
in the root folder to install dependencies. - Run
npm run dev
to start a dev server. This serves the project and live reloads when any files are changed, then visit http://127.0.0.1:4000 preview. - Submit a pull request and wait for it to be reviewed and merged.
To create or edit a cheat sheet, you'll need to create or edit a markdown file in source/_posts/{filename}.md
. The file should include a front matter section with the following format:
---
title: QuickRef
date: 2020-11-25 18:28:43
icon: icon-style
background: bg-emerald-600
tags:
categories:
- Other
intro: This is a reference of styles that you can use on quickref cheat sheets!
---
Only the title
and intro
fields are required, and the other options can be left blank.