Jobs & Workflows
https://armen.surge.sh
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
<!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('/DOC.md'); |
|
</script> |
|
</body> |
|
</html> |
|
|
|
|