Ajout du markdown
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
export default 1562583989848
|
export default 1562589257983
|
||||||
+13
-9
@@ -126,27 +126,31 @@ body {
|
|||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
letter-spacing: 4pt;
|
letter-spacing: 4pt;
|
||||||
}
|
}
|
||||||
.chapter-content {
|
|
||||||
text-align: justify;
|
|
||||||
-webkit-hyphens : auto;
|
|
||||||
font-family: "Cormorant";
|
|
||||||
font-weight: 200;
|
|
||||||
font-size: 10pt;
|
|
||||||
line-height: 18pt;
|
|
||||||
}
|
|
||||||
.section-title {
|
.section-title {
|
||||||
font-family: "TextaAlt";
|
font-family: "TextaAlt";
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
}
|
}
|
||||||
|
.chapter-content {
|
||||||
|
hyphens: auto;
|
||||||
|
font-family: "Cormorant";
|
||||||
|
font-weight: 200;
|
||||||
|
font-size: 10pt;
|
||||||
|
line-height: 18pt;
|
||||||
|
}
|
||||||
.section-content {
|
.section-content {
|
||||||
text-align: justify;
|
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
font-family: "SGI-TextAlt";
|
font-family: "SGI-TextAlt";
|
||||||
font-size:9.5pt;
|
font-size:9.5pt;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
line-height: 18pt;
|
line-height: 18pt;
|
||||||
}
|
}
|
||||||
|
.justify p{
|
||||||
|
text-align: justify;
|
||||||
|
text-align-last: left !important;
|
||||||
|
|
||||||
|
hyphens: auto;
|
||||||
|
}
|
||||||
.image-cover {
|
.image-cover {
|
||||||
page: imagecover;
|
page: imagecover;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|||||||
+5
-5
@@ -1,10 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<Layout>
|
<Layout>
|
||||||
|
|
||||||
<div class="blank-page no-folio">
|
<div class="blank-page no-folio">
|
||||||
<!-- Page blanche -->
|
<!-- Page blanche -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="v-center grow no-folio">
|
<div class="v-center grow no-folio">
|
||||||
<h1 class="pre-title center" v-html="$static.metaData.titreDuProjet" />
|
<h1 class="pre-title center" v-html="$static.metaData.titreDuProjet" />
|
||||||
<h2 class="pre-sub-title center" v-html="$static.metaData.sousTitre" />
|
<h2 class="pre-sub-title center" v-html="$static.metaData.sousTitre" />
|
||||||
@@ -42,7 +41,7 @@
|
|||||||
|
|
||||||
<div class="hyphen" v-for="(edge,index) in $page.chapters.edges.slice().reverse()" :key="'chapter'+edge.node.id">
|
<div class="hyphen" v-for="(edge,index) in $page.chapters.edges.slice().reverse()" :key="'chapter'+edge.node.id">
|
||||||
<h2 v-bind:id="'chapter'+edge.node.id" class="chapter-title" v-bind:class="{ canbreak: isNotFirst(index) }" >{{ edge.node.titre }}</h2>
|
<h2 v-bind:id="'chapter'+edge.node.id" class="chapter-title" v-bind:class="{ canbreak: isNotFirst(index) }" >{{ edge.node.titre }}</h2>
|
||||||
<p lang="fr" class="chapter-content" v-html="edge.node.contenu" />
|
<VueMarkdown lang="fr" class="chapter-content justify">{{edge.node.contenu}}</VueMarkdown>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -62,9 +61,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div v-for="(edge,index) in $page.sections.edges.slice().reverse()" :key="'section'+edge.node.id">
|
<div class="hyphen" v-for="(edge,index) in $page.sections.edges.slice().reverse()" :key="'section'+edge.node.id">
|
||||||
<h3 class="section-title" v-bind:class="{ canbreak: isNotFirst(index) }">{{ edge.node.titre }}</h3>
|
<h3 class="section-title" v-bind:class="{ canbreak: isNotFirst(index) }">{{ edge.node.titre }}</h3>
|
||||||
<p lang="fr" class="section-content">{{ edge.node.contenu }}</p>
|
<VueMarkdown lang="fr" class="section-content justify">{{ edge.node.contenu }}</VueMarkdown>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</Layout>
|
</Layout>
|
||||||
@@ -125,6 +124,7 @@ query {
|
|||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
let previewer = new Previewer();
|
let previewer = new Previewer();
|
||||||
previewer.preview()
|
previewer.preview()
|
||||||
|
|
||||||
},1000)
|
},1000)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user