This Gist is used in the Astro Embed documentation.
沙盒
406 字
2 分钟
沙盒
Scroll snap
BaselineWidely availableSupported in Chrome: yes.
Supported in Edge: yes.
Supported in Firefox: yes.
Supported in Safari: yes.
BaselineWidely available
Supported in Chrome: yes.
Supported in Edge: yes.
Supported in Firefox: yes.
Supported in Safari: yes.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020
The result of [1, 2, 3].join('-') is '1-2-3'.
Lift() can be determined by Lift Coefficient () like the following equation.
defmodule Solution do @spec is_palindrome(x :: integer) :: boolean def is_palindrome(x) when x < 0, do: false def is_palindrome(x), do: do_is_palindrome(x, get_base_10(x, 1))
defp do_is_palindrome(x, b10) when b10 > 1, do: get_first_digit(x, b10) == rem(x, 10) and do_is_palindrome(div(x, 10), div(b10, 100))
defp do_is_palindrome(_, _), do: true
defp get_first_digit(n, b10), do: div(n, b10) |> rem(10)
defp get_base_10(n, b10) when n >= b10, do: get_base_10(n, b10 * 10) defp get_base_10(n, b10), do: div(b10, 10)end
This file contains hidden or 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 { Gist } from '@astro-community/astro-embed-gist'; | |
| --- | |
| <p>Here’s an example of using the Astro Embed <code>Gist</code> component:</p> | |
| <Gist id="https://gist.github.com/delucis/0b44f4ff0397767b2416cc981692c346" /> |
简单7课,帮助你快速学会Teambition的基本操作。
我们需要一位熟悉JavaScript、HTML5,至少理解一种框架(如Backbone.js、AngularJS、React等)的前端开发者。
We're pretty content with Astro 4.14.
Introducing type-safe frontmatter in your editor and the reimagined Content Layer, now in experimental
foo1
Footnotes
-
bar ↩
文章分享
如果这篇文章对你有帮助,欢迎分享给更多人!
相关文章智能推荐
1
Firefly 代码块示例
文章示例在Firefly中使用表达性代码的代码块在 Markdown 中的外观。
2
Firefly 布局系统详解
博客指南深入了解 Firefly 的布局系统,包括侧边栏布局(左侧/双侧)和文章列表布局(列表/网格),以及自适应网格列数。
3
Firefly Wiki Link 内部链接示例
博客指南在 Firefly 文章中使用 Obsidian 风格的 Wiki Link 内部链接,并自动生成文章链接卡片。
4
Firefly 一款清新美观的 Astro 博客主题模板
文章示例Firefly 是一款基于 Astro 框架和 Fuwari 模板开发的清新美观且现代化个人博客主题模板,专为技术爱好者和内容创作者设计。该主题融合了现代 Web 技术栈,提供了丰富的功能模块和高度可定制的界面,让您能够轻松打造出专业且美观的个人博客网站。
5
Firefly 简单使用指南
博客指南如何使用 Firefly 博客模板。
随机文章随机推荐














