WIP: test markdown #5
@ -29,6 +29,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
|
||||||
/>
|
/>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="page-header" role="banner">
|
<header class="page-header" role="banner">
|
||||||
@ -38,21 +39,24 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
<div class="main-content">
|
<div class="main-content">
|
||||||
<!-- První novinka -->
|
<!-- Markdown novinka -->
|
||||||
<div class="news-block">
|
<div id="markdown-news"></div>
|
||||||
<div class="news-item">
|
|
||||||
<a href="../novinky/2024-27-09.html" class="news-date">27. září 2024</a>
|
<script>
|
||||||
<h2>Aktualizace Mxchat</h2>
|
const markdownContent = `
|
||||||
<ul>
|
### 27. září 2024 - Aktualizace Mxchat 🚀
|
||||||
<li>
|
|
||||||
<strong><a href="https://github.com/element-hq/element-web">Element:</a></strong>
|
- **Element**:
|
||||||
<a href="https://github.com/element-hq/element-web/releases/tag/v1.11.77">v1.11.77</a>
|
- [v1.11.77](https://github.com/element-hq/element-web/releases/tag/v1.11.77)
|
||||||
->
|
->
|
||||||
<a href="https://github.com/element-hq/element-web/releases/tag/v1.11.78">v1.11.78</a>
|
- [v1.11.78](https://github.com/element-hq/element-web/releases/tag/v1.11.78)
|
||||||
</li>
|
|
||||||
</ul>
|
*Poslední aktualizace*.
|
||||||
<p>Poslední aktualizace</p>
|
`;
|
||||||
</div>
|
|
||||||
|
document.getElementById('markdown-news').innerHTML = marked(markdownContent);
|
||||||
|
</script>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- První novinka -->
|
<!-- První novinka -->
|
||||||
<div class="news-block">
|
<div class="news-block">
|
||||||
|
Loading…
Reference in New Issue
Block a user