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
<!-- Usage --> | |
<svg width="26px" height="26px"> | |
<title>Some Title</title> | |
<use xlink:href="#icon:arrow-up" width="26px" height="26px"></use> | |
</svg> | |
<!-- Definitions, somewhere in the HTML --> | |
<svg style="position: absolute; width: 0; height: 0; overflow: hidden"> | |
<symbol | |
xmlns="http://www.w3.org/2000/svg" |
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
--- | |
// @ts-ignore | |
import { getImage } from '../dist/index.js'; | |
import { warnForMissingAlt } from './index.js'; | |
import type { ImgHTMLAttributes } from './index.js'; | |
import type { ImageMetadata, TransformOptions, OutputFormat } from '../dist/index.js'; | |
interface LocalImageProps | |
extends Omit<TransformOptions, 'src'>, | |
Omit<ImgHTMLAttributes, 'src' | 'width' | 'height'> { |
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
// Vite plugin to parse markdown | |
function markdownPlugin() { | |
return { | |
name: 'markdown', | |
transform(code, id) { | |
if (!id.endsWith('.md')) return | |
return `export default ${JSON.stringify(marked(code))}` | |
} | |
} | |
} |
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
<Fragment> | |
<CardsNav minimal={minimal} class="deploy-guides-nav" links={services.map(({ title, slug, supports }) => ({ | |
title, | |
href: `/${lang}/guides/deploy/${slug}/`, | |
logo: slug, | |
tags: Object.fromEntries(supports.map((s) => [s, t(`deploy.${s}Tag`)!])), | |
}))}></CardsNav> | |
</Fragment> | |
export default function DeployGuidesNav__AstroComponent_(_props: Record<string, any>): any {} |
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
import { Code } from 'astro/components'; | |
<Fragment> | |
<div class="TabBox"> | |
<div class="tab-bar"> | |
<div id="install-npm" class="active toggle"><h5>npm</h5></div> | |
<div id="install-yarn" class="toggle"><h5>yarn</h5></div> | |
</div> | |
<div id="npm"> |
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
--- | |
import Image from "@11ty/eleventy-img" | |
import { generateImage } from "utils.ts" | |
import { Markdown } from "astro/components" | |
const { | |
src, | |
alt, | |
caption, | |
options = {}, | |
sizes = "", |
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
default partial | |
xkb_symbols "swe" { | |
include "ca(fr)" | |
name[Group1]= "Canadian French + Swedish Å"; | |
key <AC01> { [ a, A, aring, Aring ] }; | |
include "level3(lalt_switch)" | |
}; |
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
{"lastUpload":"2021-04-05T19:32:05.901Z","extensionVersion":"v3.4.3"} |