test markdown

This commit is contained in:
archos 2024-09-27 19:54:02 +02:00
parent 8cc6d4bb59
commit 6ace007069

View File

@ -29,6 +29,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
rel="stylesheet"
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>
<body>
<header class="page-header" role="banner">
@ -38,21 +39,24 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
</a>
</header>
<div class="main-content">
<!-- První novinka -->
<div class="news-block">
<div class="news-item">
<a href="../novinky/2024-27-09.html" class="news-date">27. září 2024</a>
<h2>Aktualizace Mxchat</h2>
<ul>
<li>
<strong><a href="https://github.com/element-hq/element-web">Element:</a></strong>
<a href="https://github.com/element-hq/element-web/releases/tag/v1.11.77">v1.11.77</a>
<!-- Markdown novinka -->
<div id="markdown-news"></div>
<script>
const markdownContent = `
### 27. září 2024 - Aktualizace Mxchat 🚀
- **Element**:
- [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>
</li>
</ul>
<p>Poslední aktualizace</p>
</div>
- [v1.11.78](https://github.com/element-hq/element-web/releases/tag/v1.11.78)
*Poslední aktualizace*.
`;
document.getElementById('markdown-news').innerHTML = marked(markdownContent);
</script>
</div>
<!-- První novinka -->
<div class="news-block">