GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule php_module "C:/php/php8apache2_4.dll" | |
AddHandler application/x-httpd-php .php | |
PHPIniDir "c:/php" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imagen.innerHTML = ` | |
<source srcset="build/img/gallery/thumb/${i}.avif" type="image/avif"> | |
<source srcset="build/img/gallery/thumb/${i}.webp" type="image/webp"> | |
<img loading="lazy" width="200" height="300" src="build/img/gallery/thumb/${i}.jpg" alt="imagen galeria"> | |
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export async function imagenes(done) { | |
const srcDir = './src/img'; | |
const buildDir = './build/img'; | |
const images = await glob('./src/img/**/*{jpg,png}') | |
images.forEach(file => { | |
const relativePath = path.relative(srcDir, path.dirname(file)); | |
const outputSubDir = path.join(buildDir, relativePath); | |
procesarImagenes(file, outputSubDir); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule php_module "C:/php/php8apache2_4.dll" | |
AddHandler application/x-httpd-php .php | |
PHPIniDir "c:/php" |