7 changed files with 69 additions and 0 deletions
After Width: | Height: | Size: 15 KiB |
File diff suppressed because one or more lines are too long
@ -0,0 +1,50 @@
|
||||
<!doctype html> |
||||
<html lang="fr"> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
<title>Guide d'utilisation d'armen</title> |
||||
<meta name="description" content="Guide d'utilisation d'armen"> |
||||
<meta name="author" content="mls-361"> |
||||
<link rel="icon" href="/favicon.ico"> |
||||
<link rel="stylesheet" href="/github-markdown.min.css"> |
||||
<style> |
||||
.markdown-body { |
||||
min-width: 200px; |
||||
max-width: 980px; |
||||
margin: 0 auto; |
||||
padding: 40px; |
||||
} |
||||
.markdown-body h1 { |
||||
border-bottom: 10px solid #eaecef; |
||||
} |
||||
@media (max-width: 767px) { |
||||
.markdown-body { |
||||
padding: 10px; |
||||
} |
||||
} |
||||
</style> |
||||
<script src="/showdown.min.js"></script> |
||||
</head> |
||||
<body> |
||||
<article id="doc" class="markdown-body"> |
||||
</article> |
||||
<script> |
||||
var converter = new showdown.Converter(); |
||||
var doc = document.getElementById('doc'); |
||||
|
||||
async function loadAndConvert(urlFile) { |
||||
try { |
||||
const response = await fetch(urlFile); |
||||
const markdown = await response.text(); |
||||
doc.innerHTML = converter.makeHtml(markdown); |
||||
} catch (err) { |
||||
console.log(err) |
||||
} |
||||
} |
||||
|
||||
loadAndConvert('/markdown/armen.md'); |
||||
</script> |
||||
</body> |
||||
</html> |
||||
|
@ -0,0 +1,9 @@
|
||||
# armen |
||||
|
||||
## Licence |
||||
|
||||
MIT. |
||||
|
||||
--- |
||||
Copyright (c) 2021 `mls-361`. |
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue