blob: 5ae3c748161dea9d086a89fa49081021ffd46250 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<template>
<div>
<h2>Zasady punktacji</h2>
<div class="rules" v-html="rules"></div>
</div>
</template>
<script>
import rules from '~/assets/zasady-punktacji.md'
const md = require('markdown-it')()
export default {
name: 'RankingRules',
data() {
return {
rules: md.render(rules)
}
}
}
</script>
<style>
.rules table {
border-collapse: collapse;
margin: 20px 10px;
}
.rules th,
.rules td {
padding: 5px 15px;
border: 1px solid #000;
}
</style>
|