quizdown-extended
Version:
Markdown for generating interactive quiz apps in the browser. (With more functions)
33 lines (20 loc) • 472 B
Markdown
Quizdown can be imported into other projects. First install with:
```
npm install quizdown
```
And use it in your code to create a quiz app:
```typescript
import { createApp } from 'quizdown'
let node = document.querySelector('.quizdown');
let config = {
'locale': 'de',
'shuffleAnswers': false
}
let rawQuizdown = `
- [x] True
- [ ] False
`
createApp(rawQuizdown, node, config)
```