38 lines
787 B
Markdown
38 lines
787 B
Markdown
# Bienvenue dans md-render
|
|
|
|
**md-render** est un convertisseur Markdown → HTML avec prévisualisation live.
|
|
|
|
## Fonctionnalités
|
|
|
|
- ✅ Conversion Markdown → HTML
|
|
- ✅ Coloration syntaxique du code
|
|
- ✅ Mode watch avec rechargement automatique
|
|
- ✅ Serveur de prévisualisation intégré
|
|
|
|
## Exemple de code
|
|
|
|
```javascript
|
|
function hello(name) {
|
|
return `Bonjour, ${name} !`;
|
|
}
|
|
|
|
console.log(hello('monde'));
|
|
```
|
|
|
|
## Tableau
|
|
|
|
| Outil | Description |
|
|
|-----------|--------------------------|
|
|
| marked | Parser Markdown |
|
|
| chokidar | Surveillance de fichiers |
|
|
| highlight | Coloration syntaxique |
|
|
|
|
> **Note :** Ouvrez http://localhost:3000 après avoir lancé `--watch`.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
npm install -g .
|
|
md-render README.md --watch
|
|
```
|