You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/en/reference/cli-reference.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ If you started your project using [the `create astro` wizard](/en/install/auto/#
58
58
59
59
Runs Astro's development server. This is a local HTTP server that doesn't bundle assets. It uses Hot Module Replacement (HMR) to update your browser as you save changes in your editor.
60
60
61
-
### Flags
61
+
<h3>Flags</h3>
62
62
63
63
Use these flags to customize the behavior of the Astro dev server. For flags shared with other Astro commands, see [common flags](#common-flags) below.
64
64
@@ -81,7 +81,7 @@ Do not use the `--host` flag to expose the dev server in a production environmen
81
81
82
82
Builds your site for deployment. By default, this will generate static files and place them in a `dist/` directory. If [SSR is enabled](/en/guides/server-side-rendering/), this will generate the necessary server files to serve your site.
83
83
84
-
### Flags
84
+
<h3>Flags</h3>
85
85
86
86
Use these flags to customize your build. For flags shared with other Astro commands, see [common flags](#common-flags) below.
<h1>{frontmatter.title} por {frontmatter.author}</h1>
102
+
<slot />
103
+
<p>Escrito en: {frontmatter.date}</p>
104
+
</body>
105
+
</html>
106
+
```
107
+
80
108
### Props de la plantilla de Markdown
81
109
82
110
:::note
@@ -556,3 +584,23 @@ Cuando uses Prism, deberás agregar una hoja de estilos a tu proyecto para resal
556
584
4. Cargar esta en el [`<head>` de su página](/es/core-concepts/astro-pages/#páginas-html) a través de una etiqueta `<link>`.
557
585
558
586
También puedes visitar la [lista de lenguajes de programación soportados por Prism](https://prismjs.com/#supported-languages) para conocer las opciones y su uso.
587
+
588
+
## Fetching de Markdown Remoto
589
+
590
+
Astro fue diseñado principalmente para archivos Markdown locales que podrían ser guardados dentro del directorio del proyecto. Sin embargo, pueden ocurrir casos donde necesites obtener Markdown de una fuente remota. Por ejemplo, puedes necesitar hacer fetching y renderizar Markdown de una API remota al estar construyendo un sitio web (o cuando el usuario ejecute una request a su página, al usar [SSR](/es/guides/server-side-rendering/)).
591
+
592
+
**¡Astro no incluye soporte para Markdown remoto!**. Para hacer fetching de Markdown remoto y renderizarlo a HTML, necesitarás instalar y configurar tu propio parser de Markdown desde npm. Este **no** heredará ajustes que hayas configurado del Markdown y MDX de Astro. Asegúrate de comprender estas limitaciones antes de implementar esto en tu proyecto.
0 commit comments