randerizando markdowns

This commit is contained in:
Tatiana Villa Ema 2026-03-24 08:55:01 +01:00
parent febad8e6ef
commit 020b29e78a
2 changed files with 33 additions and 14 deletions

View File

@ -1,19 +1,27 @@
<!<DOCTYPE html> <!DOCTYPE html>
<html> <html lang="es">
<head> <head>
<script type="module" src="https://cdn.jsdelivr.net/npm/zero-md@3"></script> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apuntes Oposiciones</title>
<script type="module" src="https://cdn.jsdelivr.net/npm/zero-md@3"></script>
</head> </head>
<body style="background: #0d1117;"> <zero-md src="temario.md"> <body style="background-color: #0d1117; margin: 0; padding: 20px;">
<template>
<style> <zero-md src="temario.md">
.markdown-body { <template>
background: #0d1117; <style>
color: #c9d1d9; .markdown-body {
padding: 20px; background-color: #0d1117 !important;
} color: #c9d1d9 !important;
</style> font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
</template> line-height: 1.6;
</zero-md> }
/* Esto ayuda a ver si el componente ha cargado algo */
.markdown-body h1 { border-bottom: 1px solid #30363d; padding-bottom: 0.3em; color: #58a6ff; }
</style>
</template>
</zero-md>
</body> </body>
</html> </html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>