- Создайте аккаунт на algolia.com
- Получите
Application ID
иAdmin API Key
Markdown - это облегчённый язык разметки, который преобразует текст в структурированный HTML. Следующее руководство поможет вам разобраться, как использовать Markdown.
# Заголовок первого уровня
## Заголовок второго уровня
### Заголовок третьего уровня
#### Заголовок четвёртого уровня
##### Заголовок пятого уровня
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
// @ts-check | |
import { defineConfig } from "astro/config"; | |
import mdx from "@astrojs/mdx"; | |
import sitemap from "@astrojs/sitemap"; | |
import cloudflare from "@astrojs/cloudflare"; | |
import tailwind from "@astrojs/tailwind"; | |
export default defineConfig({ | |
site: "https://example.com", | |
theme: 'public/css/theme.css', |
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
/** @type {import('tailwindcss').Config} */ | |
export default { | |
content: [ | |
'./src/**/*.{html,js,ts,jsx,tsx,mdx}', | |
'./components/**/*.{js,ts,jsx,tsx}', | |
'./content/**/*.mdx', | |
'./data/**/*.{mdx,md}', | |
], | |
theme: { | |
extend: { |