Skip to content

Commit

Permalink
Actualización 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjobalmis committed Mar 14, 2024
1 parent fe8c5dc commit 4cdc42c
Show file tree
Hide file tree
Showing 12 changed files with 592 additions and 691 deletions.
15 changes: 15 additions & 0 deletions .crossnote/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
({
katexConfig: {
"macros": {}
},

mathjaxConfig: {
"tex": {},
"options": {},
"loader": {}
},

mermaidConfig: {
"startOnLoad": false
},
})
6 changes: 6 additions & 0 deletions .crossnote/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!-- The content below will be included at the end of the <head> element. -->
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function () {
// your code here
});
</script>
12 changes: 12 additions & 0 deletions .crossnote/parser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
({
// Please visit the URL below for more information:
// https://shd101wyy.github.io/markdown-preview-enhanced/#/extend-parser

onWillParseMarkdown: async function(markdown) {
return markdown;
},

onDidParseMarkdown: async function(html) {
return html;
},
})
8 changes: 8 additions & 0 deletions .crossnote/style.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

/* Please visit the URL below for more information: */
/* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */

.markdown-preview.markdown-preview {


}
2 changes: 1 addition & 1 deletion .github/workflows/publicar_web_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# # Al hacerse Push en master
# on:
# push:
# branches: [ master ]
# branches: [ main ]
#
# # Ejecuta este workflow secuencial (otro job se ejecutaría en paralelo)
# jobs:
Expand Down
141 changes: 68 additions & 73 deletions .vscode/FragmentosPernosalizados.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"body": [
"---",
"title:",
"\t${1:titulo}",
"date: ${2:fecha}",
"\t$1",
"date: $2",
"export_on_save:",
"\tpuppeteer: true",
"\thtml: true",
Expand All @@ -30,44 +30,71 @@
"\tdisplayHeaderFooter: true",
"\theaderTemplate: \"&nbsp;\"",
"\tfooterTemplate: \"",
"\t<span style=\\\"font-size: 9pt; display: flex;\\\">",
"\t\t<span class=\\\"pageNumber\\\" style=\\\"margin-left: 1cm;\\\"></span>",
"\t\t/",
"\t\t<span class=\\\"totalPages\\\"></span>",
"\t\t<span class=\\\"title\\\" style=\\\"margin-left: 1cm;\\\"></span>",
"\t\t<span style=\\\"margin-left: 1cm;\\\">Aquí el autor o autores</span>",
"\t</span>",
"\t\"",
"\t\t<span style=\\\"font-size: 9pt; display: flex;\\\">",
"\t\t\t<span class=\\\"pageNumber\\\" style=\\\"margin-left: 1cm;\\\"></span>",
"\t\t\t/",
"\t\t\t<span class=\\\"totalPages\\\"></span>",
"\t\t\t<span class=\\\"title\\\" style=\\\"margin-left: 1cm;\\\"></span>",
"\t\t\t<span style=\\\"margin-left: 1cm;\\\">Xusa García y Juanjo Guarinos</span>",
"\t\t</span>",
"\t\t\t\t\t\"",
"toc:",
"\tdepth_from: 1",
"\tdepth_to: 5",
"\tordered: true",
"---",
"",
"@import \\\"EstilosPersonalizadosMarkdownEnhanced.less\\\"",
"",
"# ${3:título_documento} {ignore=true}",
"",
"[Descargar estos apuntes](./${4:nombre_fichero}.pdf)",
"",
"## Índice {ignore=true}",
"",
"[TOC]",
"",
"<div style=\\\"page-break-after:always;\\\"></div>",
"---"
],
"description": "Front Matter YAML"
},
"Imegen centrada en HTML": {
"Imagen centrada en HTML": {
"scope": "markdown, md",
"prefix": "mde_imagenCentrada",
"body": [
"<div align=\"center\">",
"<div style=\"display: flex; justify-content: center; align-items: center; margin-top: 15px; margin-bottom: 15px\">",
"\t<img height=\"$1\" src=\"$2\">",
"</div>"
],
"description": "Imegen centrada en HTML"
},
"Imagen flotante a la derecha de contenido": {
"scope": "markdown, md",
"prefix": "mde_imagenFlotanteADerecha",
"body": [
"<div style=\"display: flex; justify-content: space-between; align-items: center; margin-top: 15px\">",
"<div style=\"width: 70%\">",
"\n<!-- AQUÍ IRÁ TODO EL MARKDOWN FLOTANTE A LA IZQUIERDA DE LA IMAGEN -->\n",
"</div>",
"<div style=\"width: auto\">",
"\t<img height=\"200px\" src=\"$1\" />",
"</div>",
"</div>"
],
"description": "Imagen flotante a la derecha de contenido en HTML"
},
"Tabla con dos imagenes": {
"scope": "markdown, md",
"prefix": "mde_tabla_dos_imagenes",
"body": [
"<span style=\"align: center;\">",
"<table align=\"center\">",
"<tr>",
"<td>",
"<div align=\"center\">",
"\t<img height=\"$1\" src=\"$2\">",
"</div>",
"</td>",
"<td>",
"<div align=\"center\">",
"\t<img height=\"$1\" src=\"$2\">",
"</div>",
"</td>",
"</tr>",
"</table>",
"</span>"
],
"description": "Tabla con dos imagenes"
},

"Salto de página en pdf": {
"scope": "markdown, md",
"prefix": "mde_saltoPagina",
Expand All @@ -78,14 +105,14 @@
},
"Cita autor HTML": {
"scope": "markdown, md",
"prefix": "mde_cita_autor_centrada",
"prefix": "mde_citaCentrada",
"body": [
"<div class=\"contenedor\">",
"\t<div class=\"fondo\">",
"\t\t<div class=\"abre_comilla\">\"</div>",
"\t\t<div class=\"cierra_comilla\">\"</div>",
"\t\t<div class=\"cita\">${1:TextoCita}.</div>",
"\t\t<div class=\"autor\">- ${2:Autor}</div>",
"\t\t<div class=\"cita\">$1.</div>",
"\t\t<div class=\"autor\">- $2</div>",
"\t</div>",
"</div>"
],
Expand Down Expand Up @@ -128,9 +155,9 @@
],
"description": "Bloque en C#"
},
"Clases PlantUML": {
"PlantUML": {
"scope": "markdown, md",
"prefix": "mde_bloque_puml_clases",
"prefix": "mde_bloque_puml",
"body": [
"```puml {align=\"center\", style=\"zoom:1\"}",
"@startuml",
Expand All @@ -147,38 +174,6 @@
],
"description": "Bloque puml"
},
"MindMap PlantUML": {
"scope": "markdown, md, puml",
"prefix": "mde_bloque_puml_mindMap",
"body": [
"```puml {align=\"center\", style=\"zoom:1\"}",
"@startmindmap",
"<style>",
" mindmapDiagram {",
" Linecolor black",
" FontName Arial",
" FontSize 14",
" node {",
" Padding 15",
" Margin 15",
" HorizontalAlignment center",
" BackGroundColor white",
" }",
" }",
"</style>",
"",
"*[#snow] Debian",
"** Ubuntu",
"*** Linux Mint",
"*** Kubuntu",
"*** KDE Neon",
"** SteamOS",
"",
"@endmindmap",
"```"
],
"description": "Insertar un mapa mental"
},
"Importante": {
"scope": "markdown, md",
"prefix": "mde_cita_importante",
Expand All @@ -190,6 +185,17 @@
],
"description": "Cita con algo importante"
},
"Ampliación": {
"scope": "markdown, md",
"prefix": "mde_cita_ampliacion",
"body": [
"> :rocket: **Ampliación:**",
"> ",
"> $1",
"> "
],
"description": "Cita con algo importante"
},
"Caso de estudio": {
"scope": "markdown, md",
"prefix": "mde_cita_caso_de_estudio",
Expand All @@ -212,17 +218,6 @@
],
"description": "Cita con tips"
},
"Nota": {
"scope": "markdown, md",
"prefix": "mde_cita_nota",
"body": [
"> :pushpin: **Nota:**",
"> ",
"> $1",
"> "
],
"description": "Cita con nota"
},
"Resumen": {
"scope": "markdown, md",
"prefix": "mde_cita_resumen",
Expand Down
Loading

0 comments on commit 4cdc42c

Please sign in to comment.