1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-29 20:54:19 +00:00

documentation markdown sur les outils de création. fix #25

This commit is contained in:
Maxime Moraine 2020-06-20 17:22:34 +02:00
parent 4c6312f540
commit e38793e900
5 changed files with 31 additions and 7 deletions

View 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>

View file

@ -52,7 +52,8 @@
<v-row> <v-row>
<v-col> <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-col>
</v-row> </v-row>
@ -74,6 +75,7 @@
<script> <script>
import Breadcrumb from '@theme/components/Breadcrumb' import Breadcrumb from '@theme/components/Breadcrumb'
import MagicItem from '@theme/components/MagicItem' import MagicItem from '@theme/components/MagicItem'
import MarkdownDoc from '@theme/components/MarkdownDoc'
import { saveAs } from 'file-saver' import { saveAs } from 'file-saver'
import { MAGICITEMTYPES, RARITIES } from '../../data/magicItems' import { MAGICITEMTYPES, RARITIES } from '../../data/magicItems'
import { getUrlParameter } from '@theme/util/filterHelpers' import { getUrlParameter } from '@theme/util/filterHelpers'
@ -86,7 +88,8 @@ export default {
components: { components: {
Breadcrumb, Breadcrumb,
MagicItem MagicItem,
MarkdownDoc
}, },
computed: { computed: {

View file

@ -200,7 +200,8 @@
Capacités, Actions, Réactions et Actions légendaires Capacités, Actions, Réactions et Actions légendaires
</v-col> </v-col>
<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-col>
</v-row> </v-row>
@ -222,6 +223,7 @@
<script> <script>
import Breadcrumb from '@theme/components/Breadcrumb' import Breadcrumb from '@theme/components/Breadcrumb'
import Monster from '@theme/components/Monster' import Monster from '@theme/components/Monster'
import MarkdownDoc from '@theme/components/MarkdownDoc'
import { saveAs } from 'file-saver' import { saveAs } from 'file-saver'
import { MONSTERTYPES, MONSTERSIZES, CHALLENGES, ABILITIES, SKILLS } from '../../data/monsters' import { MONSTERTYPES, MONSTERSIZES, CHALLENGES, ABILITIES, SKILLS } from '../../data/monsters'
import { stats } from '../../data/stats' import { stats } from '../../data/stats'
@ -241,7 +243,8 @@ export default {
components: { components: {
Breadcrumb, Breadcrumb,
Monster Monster,
MarkdownDoc
}, },
computed: { computed: {

View file

@ -91,7 +91,8 @@
<v-row> <v-row>
<v-col> <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-col>
</v-row> </v-row>
@ -113,6 +114,7 @@
<script> <script>
import Breadcrumb from '@theme/components/Breadcrumb' import Breadcrumb from '@theme/components/Breadcrumb'
import Spell from '@theme/components/Spell' import Spell from '@theme/components/Spell'
import MarkdownDoc from '@theme/components/MarkdownDoc'
import { saveAs } from 'file-saver' import { saveAs } from 'file-saver'
import { CLASSES } from '../../data/classes' import { CLASSES } from '../../data/classes'
import { SPELLSCHOOLS, SPELLLEVELS } from '../../data/spells' import { SPELLSCHOOLS, SPELLLEVELS } from '../../data/spells'
@ -127,7 +129,8 @@ export default {
components: { components: {
Breadcrumb, Breadcrumb,
Spell Spell,
MarkdownDoc
}, },
computed: { computed: {

View file

@ -198,7 +198,7 @@ Pendant un nombre de round égal à votre bonus de maîtrise, vous imposer un [_
§§§ .table-container .flex-shrink-0 §§§ .table-container .flex-shrink-0
| Niveau de clerc | Sorts | | 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/) | | **3** | [_détection des pensées_](/grimoire/detection-des-pensees/) |
| **5** | [_clairvoyance_](/grimoire/clairvoyance/) | | **5** | [_clairvoyance_](/grimoire/clairvoyance/) |
| **7** | [_divination_](/grimoire/divination/) | | **7** | [_divination_](/grimoire/divination/) |