mirror of https://github.com/zedeus/nitter
9 changed files with 45 additions and 21 deletions
@ -1,7 +0,0 @@ |
|||
# Unsupported feature |
|||
|
|||
Nitter doesn't support this feature yet, but it might in the future. |
|||
You can check for an issue and open one if needed here: |
|||
<https://github.com/zedeus/nitter/issues> |
|||
|
|||
To find out more about the Nitter project, see the [About page](/about). |
@ -0,0 +1,14 @@ |
|||
# SPDX-License-Identifier: AGPL-3.0-only |
|||
import karax/[karaxdsl, vdom] |
|||
|
|||
proc renderFeature*(): VNode = |
|||
buildHtml(tdiv(class="overlay-panel")): |
|||
h1: text "Unsupported feature" |
|||
p: |
|||
text "Nitter doesn't support this feature yet, but it might in the future. " |
|||
text "You can check for an issue and open one if needed here: " |
|||
a(href="https://github.com/zedeus/nitter/issues"): |
|||
text "https://github.com/zedeus/nitter/issues" |
|||
p: |
|||
text "To find out more about the Nitter project, see the " |
|||
a(href="/about"): text "About page" |
@ -0,0 +1,10 @@ |
|||
import std/[os, strutils] |
|||
import markdown |
|||
|
|||
for file in walkFiles("public/md/*.md"): |
|||
let |
|||
html = markdown(readFile(file)) |
|||
output = file.replace(".md", ".html") |
|||
|
|||
output.writeFile(html) |
|||
echo "Rendered ", output |
Loading…
Reference in new issue