mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-29 04:34:19 +00:00
documentation markdown sur les outils de création. fix #25
This commit is contained in:
parent
4c6312f540
commit
e38793e900
5 changed files with 31 additions and 7 deletions
15
docs/.vuepress/theme/components/MarkdownDoc.vue
Normal file
15
docs/.vuepress/theme/components/MarkdownDoc.vue
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<template>
|
||||
<div class="caption text--secondary">
|
||||
Ce champ supporte le <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" target="_blank">markdown</a>.<br>
|
||||
Exemples d'utilisation :<br>
|
||||
<em>_Italique_</em>, <strong>**Gras**</strong>, <em><strong>_**Gras italique**_</strong></em>, ## Titres<br>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
||||
|
|
@ -52,7 +52,8 @@
|
|||
|
||||
<v-row>
|
||||
<v-col>
|
||||
<v-textarea outlined label="Description" v-model="magicItem.content" hint="Markdown supporté" persistent-hint></v-textarea>
|
||||
<v-textarea outlined label="Description" v-model="magicItem.content" hide-details></v-textarea>
|
||||
<MarkdownDoc />
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
|
|
@ -74,6 +75,7 @@
|
|||
<script>
|
||||
import Breadcrumb from '@theme/components/Breadcrumb'
|
||||
import MagicItem from '@theme/components/MagicItem'
|
||||
import MarkdownDoc from '@theme/components/MarkdownDoc'
|
||||
import { saveAs } from 'file-saver'
|
||||
import { MAGICITEMTYPES, RARITIES } from '../../data/magicItems'
|
||||
import { getUrlParameter } from '@theme/util/filterHelpers'
|
||||
|
|
@ -86,7 +88,8 @@ export default {
|
|||
|
||||
components: {
|
||||
Breadcrumb,
|
||||
MagicItem
|
||||
MagicItem,
|
||||
MarkdownDoc
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
|
|
|||
|
|
@ -200,7 +200,8 @@
|
|||
Capacités, Actions, Réactions et Actions légendaires
|
||||
</v-col>
|
||||
<v-col>
|
||||
<v-textarea outlined label="Capacités, Actions, Réactions, Actions légendaires" v-model="monster.content" hint="Markdown supporté" persistent-hint></v-textarea>
|
||||
<v-textarea outlined label="Capacités, Actions, Réactions, Actions légendaires" v-model="monster.content" hide-details></v-textarea>
|
||||
<MarkdownDoc />
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
|
|
@ -222,6 +223,7 @@
|
|||
<script>
|
||||
import Breadcrumb from '@theme/components/Breadcrumb'
|
||||
import Monster from '@theme/components/Monster'
|
||||
import MarkdownDoc from '@theme/components/MarkdownDoc'
|
||||
import { saveAs } from 'file-saver'
|
||||
import { MONSTERTYPES, MONSTERSIZES, CHALLENGES, ABILITIES, SKILLS } from '../../data/monsters'
|
||||
import { stats } from '../../data/stats'
|
||||
|
|
@ -241,7 +243,8 @@ export default {
|
|||
|
||||
components: {
|
||||
Breadcrumb,
|
||||
Monster
|
||||
Monster,
|
||||
MarkdownDoc
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
|
|
|||
|
|
@ -91,7 +91,8 @@
|
|||
|
||||
<v-row>
|
||||
<v-col>
|
||||
<v-textarea outlined label="Description" v-model="spell.content" hint="Markdown supporté" persistent-hint></v-textarea>
|
||||
<v-textarea outlined label="Description" v-model="spell.content" hide-details></v-textarea>
|
||||
<MarkdownDoc />
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
|
|
@ -113,6 +114,7 @@
|
|||
<script>
|
||||
import Breadcrumb from '@theme/components/Breadcrumb'
|
||||
import Spell from '@theme/components/Spell'
|
||||
import MarkdownDoc from '@theme/components/MarkdownDoc'
|
||||
import { saveAs } from 'file-saver'
|
||||
import { CLASSES } from '../../data/classes'
|
||||
import { SPELLSCHOOLS, SPELLLEVELS } from '../../data/spells'
|
||||
|
|
@ -127,7 +129,8 @@ export default {
|
|||
|
||||
components: {
|
||||
Breadcrumb,
|
||||
Spell
|
||||
Spell,
|
||||
MarkdownDoc
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ Pendant un nombre de round égal à votre bonus de maîtrise, vous imposer un [_
|
|||
§§§ .table-container .flex-shrink-0
|
||||
| Niveau de clerc | Sorts |
|
||||
|:-:|:-|
|
||||
| **1** | [_compréhension des langues_](/grimoire/comprehension-des-langues/) |
|
||||
| **1** | [_compréhension des langues_](/grimoire/comprehension-des-langues) |
|
||||
| **3** | [_détection des pensées_](/grimoire/detection-des-pensees/) |
|
||||
| **5** | [_clairvoyance_](/grimoire/clairvoyance/) |
|
||||
| **7** | [_divination_](/grimoire/divination/) |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue