@imontene/mdrender 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/README.md +2 -2
- package/dist/options.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Cambios
|
|
2
2
|
|
|
3
|
+
## 2.8.1 — 2026-10-29
|
|
4
|
+
|
|
5
|
+
- Tema `academic_basic`: márgenes laterales de 8 mm (antes 16 mm), con más ancho para las dos
|
|
6
|
+
columnas. Los márgenes superior e inferior siguen en 18 mm.
|
|
7
|
+
|
|
3
8
|
## 2.8.0 — 2026-10-28
|
|
4
9
|
|
|
5
10
|
- **Tema académico** `--theme academic_basic` (o `theme: academic_basic`), con el aspecto de
|
package/README.md
CHANGED
|
@@ -212,8 +212,8 @@ científica. Ejemplo: [`examples/articulo-academico.md`](examples/articulo-acade
|
|
|
212
212
|
leyenda, que se imprime como «**Fig. 1.** …». Termina la ruta en `#wide` para que ocupe las
|
|
213
213
|
dos columnas: ``.
|
|
214
214
|
- Tablas con tres líneas (arriba, bajo el encabezado y abajo), sin rejilla.
|
|
215
|
-
- Por defecto: márgenes de 18
|
|
216
|
-
cambia.
|
|
215
|
+
- Por defecto: márgenes de 18 mm arriba y abajo y 8 mm a los lados, texto de 9,5 pt y
|
|
216
|
+
`font: inter`; cualquier opción los cambia.
|
|
217
217
|
|
|
218
218
|
En el HTML se ve a una sola columna. Chrome no ubica las figuras arriba o abajo de la página
|
|
219
219
|
como en LaTeX: quedan donde aparecen en el texto, y las que ocupan las dos columnas pueden
|
package/dist/options.js
CHANGED
|
@@ -39,7 +39,7 @@ export const DEFAULT_OPTIONS = {
|
|
|
39
39
|
* two columns in smaller type on wider margins, with Inter for titles, captions and labels.
|
|
40
40
|
*/
|
|
41
41
|
export const THEME_DEFAULTS = {
|
|
42
|
-
academic_basic: { margin: "18mm
|
|
42
|
+
academic_basic: { margin: "18mm 8mm", fontSize: "9.5pt", font: "inter" },
|
|
43
43
|
};
|
|
44
44
|
export class OptionsError extends MdRenderError {
|
|
45
45
|
constructor(message) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imontene/mdrender",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "Command-line app for Windows and Linux that renders Markdown — with LaTeX equations and Mermaid diagrams — to PDF and HTML set in Manrope or Inter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|