@ -0,0 +1,5 @@ |
||||
FROM alpine |
||||
RUN apk add git hugo |
||||
WORKDIR /app |
||||
COPY . /app |
||||
CMD hugo server --bind 0.0.0.0 |
@ -0,0 +1,6 @@ |
||||
--- |
||||
title: "{{ replace .Name "-" " " | title }}" |
||||
date: {{ .Date }} |
||||
draft: true |
||||
--- |
||||
|
@ -0,0 +1,10 @@ |
||||
// ============================== |
||||
// Custom style |
||||
// ============================== |
||||
|
||||
.home .home-profile, |
||||
.home[data-home="posts"] { |
||||
.home-avatar img { |
||||
width: 12rem; |
||||
} |
||||
} |
@ -0,0 +1,3 @@ |
||||
// ============================== |
||||
// Override Variables |
||||
// ============================== |
After Width: | Height: | Size: 875 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 84 KiB |
@ -0,0 +1,305 @@ |
||||
baseurl: "http://localhost:1313" |
||||
title: JILITS |
||||
languageCode: en-us |
||||
theme: LoveIt |
||||
|
||||
defaultContentLanguage: en |
||||
languageCode: en |
||||
languageName: English |
||||
hasCJKLanguage: false |
||||
paginate: 12 |
||||
googleAnalytics: '' |
||||
copyright: '' |
||||
enableRobotsTXT: true |
||||
enableGitInfo: true |
||||
enableEmoji: true |
||||
|
||||
author: |
||||
name: Emil Dabrowski |
||||
link: 'https://www.linkedin.com/in/dbrski/' |
||||
|
||||
menu: |
||||
main: |
||||
- weight: 1 |
||||
identifier: posts |
||||
pre: '' |
||||
post: '' |
||||
name: Posts |
||||
url: /posts/ |
||||
title: '' |
||||
- weight: 2 |
||||
identifier: about |
||||
pre: '' |
||||
post: '' |
||||
name: About |
||||
url: /about/ |
||||
title: '' |
||||
- weight: 3 |
||||
identifier: gitea |
||||
pre: <i class='fab fa-git-alt fa-fw' aria-hidden='true'></i> |
||||
post: '' |
||||
name: '' |
||||
url: 'https://git.jilits.se/JILITS/website' |
||||
title: Gitea |
||||
|
||||
params: |
||||
title: JILITS |
||||
description: Cloud Agnostic Computing |
||||
defaultTheme: auto |
||||
dateFormat: '2006-01-02' |
||||
gitRepo: 'https://git.jilits.se/JILITS/website' |
||||
|
||||
# website images for Open Graph and Twitter Cards |
||||
images: |
||||
- /images/screenshot.png |
||||
|
||||
header: |
||||
desktopMode: fixed |
||||
mobileMode: auto |
||||
|
||||
title: |
||||
logo: '/images/logo.png' |
||||
name: '' |
||||
post: '' |
||||
typeit: false |
||||
|
||||
home: |
||||
rss: 10 |
||||
profile: |
||||
enable: true |
||||
avatarURL: /images/avatar.png |
||||
title: 'Emil Dabrowski // JILITS' |
||||
subtitle: 'Cloud Agnostic DevOps Consulting' |
||||
typeit: true |
||||
social: true |
||||
disclaimer: '' |
||||
|
||||
posts: |
||||
enable: false |
||||
|
||||
social: |
||||
Gitea: https://git.jilits.se/explore/repos |
||||
Telegram: dbrski |
||||
Linkedin: dbrski |
||||
|
||||
footer: |
||||
enable: true |
||||
custom: '' |
||||
hugo: false |
||||
copyright: true |
||||
author: true |
||||
since: 2022 |
||||
license: >- |
||||
<a rel="license external nofollow noopener noreffer" |
||||
href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC |
||||
BY-NC 4.0</a> |
||||
|
||||
section: |
||||
paginate: 20 |
||||
dateFormat: 01-02 |
||||
rss: 10 |
||||
|
||||
list: |
||||
paginate: 20 |
||||
dateFormat: 01-02 |
||||
rss: 10 |
||||
|
||||
app: |
||||
title: JILITS |
||||
noFavicon: false |
||||
svgFavicon: 'favicon.svg' |
||||
themeColor: '#ffffff' |
||||
iconColor: '#ffffff' |
||||
tileColor: '#ffffff' |
||||
|
||||
search: |
||||
enable: false |
||||
|
||||
page: |
||||
hiddenFromHomePage: false |
||||
hiddenFromSearch: false |
||||
twemoji: false |
||||
lightgallery: false |
||||
ruby: true |
||||
fraction: true |
||||
fontawesome: true |
||||
linkToMarkdown: true |
||||
rssFullText: false |
||||
|
||||
toc: |
||||
enable: true |
||||
keepStatic: false |
||||
auto: true |
||||
|
||||
code: |
||||
copy: true |
||||
maxShownLines: 50 |
||||
|
||||
math: |
||||
enable: false |
||||
inlineLeftDelimiter: '' |
||||
inlineRightDelimiter: '' |
||||
blockLeftDelimiter: '' |
||||
blockRightDelimiter: '' |
||||
copyTex: true |
||||
mhchem: true |
||||
|
||||
comment: |
||||
enable: false |
||||
|
||||
share: |
||||
enable: true |
||||
Twitter: true |
||||
Facebook: true |
||||
Linkedin: true |
||||
Whatsapp: false |
||||
Pinterest: false |
||||
Tumblr: false |
||||
HackerNews: false |
||||
Reddit: false |
||||
VK: false |
||||
Buffer: false |
||||
Xing: false |
||||
Line: false |
||||
Instapaper: false |
||||
Pocket: false |
||||
Flipboard: false |
||||
Weibo: false |
||||
Blogger: false |
||||
Baidu: false |
||||
Odnoklassniki: false |
||||
Evernote: false |
||||
Skype: false |
||||
Trello: false |
||||
Mix: false |
||||
|
||||
# # FIXME |
||||
# seo: |
||||
# images: [] |
||||
# publisher: |
||||
# name: xxxx |
||||
# logoUrl: /images/avatar.png |
||||
|
||||
typeit: |
||||
speed: 75 |
||||
cursorSpeed: 1000 |
||||
cursorChar: '|' |
||||
duration: -1 |
||||
|
||||
# # FIXME |
||||
# verification: |
||||
# google: '' |
||||
# bing: '' |
||||
# yandex: '' |
||||
# pinterest: '' |
||||
# baidu: '' |
||||
|
||||
seo: |
||||
thumbnailUrl: /images/screenshot.png |
||||
|
||||
analytics: |
||||
enable: false |
||||
|
||||
cdn: |
||||
data: jsdelivr.yml |
||||
|
||||
compatibility: |
||||
polyfill: false |
||||
objectFit: false |
||||
|
||||
markup: |
||||
highlight: |
||||
codeFences: true |
||||
guessSyntax: true |
||||
lineNos: true |
||||
lineNumbersInTable: true |
||||
noClasses: false |
||||
|
||||
goldmark: |
||||
extensions: |
||||
definitionList: true |
||||
footnote: true |
||||
linkify: true |
||||
strikethrough: true |
||||
table: true |
||||
taskList: true |
||||
typographer: true |
||||
|
||||
renderer: |
||||
unsafe: true |
||||
|
||||
tableOfContents: |
||||
startLevel: 2 |
||||
endLevel: 6 |
||||
|
||||
sitemap: |
||||
changefreq: weekly |
||||
filename: sitemap.xml |
||||
priority: 0.5 |
||||
|
||||
Permalinks: |
||||
posts: ':filename' |
||||
|
||||
privacy: |
||||
googleAnalytics: {} |
||||
twitter: |
||||
enableDNT: true |
||||
youtube: |
||||
privacyEnhanced: true |
||||
|
||||
mediaTypes: |
||||
text/plain: |
||||
suffixes: |
||||
- md |
||||
outputFormats: |
||||
MarkDown: |
||||
mediaType: text/plain |
||||
isPlainText: true |
||||
isHTML: false |
||||
|
||||
outputs: |
||||
home: |
||||
- HTML |
||||
- RSS |
||||
- JSON |
||||
page: |
||||
- HTML |
||||
- MarkDown |
||||
section: |
||||
- HTML |
||||
- RSS |
||||
taxonomy: |
||||
- HTML |
||||
- RSS |
||||
taxonomyTerm: |
||||
- HTML |
||||
|
||||
languages: |
||||
en: |
||||
weight: 1 |
||||
languageCode: en |
||||
languageName: English |
||||
hasCJKLanguage: false |
||||
copyright: >- |
||||
This work is licensed under a Creative Commons Attribution-NonCommercial |
||||
4.0 International License. |
||||
|
||||
sv: |
||||
weight: 1 |
||||
languageCode: sv |
||||
languageName: Svenska |
||||
hasCJKLanguage: false |
||||
copyright: >- |
||||
Detta arbete รคr licensierat under en Creative Commons Attribution-NonCommercial |
||||
4.0 Internationell licens. |
||||
|
||||
params: |
||||
home: |
||||
profile: |
||||
enable: true |
||||
avatarURL: /images/avatar.png |
||||
title: 'Emil Dabrowski // JILITS' |
||||
subtitle: 'Molnagnostisk DevOps-konsultation' |
||||
typeit: true |
||||
social: true |
||||
disclaimer: '' |
@ -0,0 +1,25 @@ |
||||
#!/bin/bash |
||||
|
||||
version="0.1.0" |
||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) |
||||
tmp_dir="$(mktemp -d --suffix=-web)" |
||||
cleanup () { rm -Rfv "$tmp_dir"; } |
||||
trap cleanup EXIT |
||||
|
||||
theme_dir="$script_dir/themes/LoveIt" |
||||
release_json="$theme_dir/release.json" |
||||
latest_theme_release_metadata="$(curl -s https://api.github.com/repos/dillonzq/LoveIt/releases/latest)" || exit 1 |
||||
latest_theme_tag_name="$(jq -r .tag_name <<<"${latest_theme_release_metadata:?}")" || exit 2 |
||||
previous_theme_tag_name="$(jq -r .tag_name "$release_json" 2>/dev/null)" || exit 3 |
||||
|
||||
if [[ "$latest_theme_tag_name" != "$previous_theme_tag_name" ]]; then |
||||
echo "Updating theme: '$latest_theme_tag_name' != '$previous_theme_tag_name'" |
||||
curl -L "https://github.com/dillonzq/LoveIt/archive/refs/tags/${latest_theme_tag_name:?}.tar.gz" -o "$tmp_dir/theme.tgz" || exit 11 |
||||
tar -xvf "$tmp_dir/theme.tgz" -C "$tmp_dir" || exit 12 |
||||
[ -d "$theme_dir" ] && { rm -Rv "$theme_dir"* || exit 13; } |
||||
mv "$tmp_dir/LoveIt"* "$theme_dir" || exit 14 |
||||
rm -Rv "$theme_dir/exampleSite" |
||||
echo "$latest_theme_release_metadata" >"$release_json" |
||||
fi |
||||
|
||||
docker build "$script_dir" -f Containerfile -t jilits/website:latest -t jilits/website:$version |
@ -0,0 +1,64 @@ |
||||
--- |
||||
title: "About us" |
||||
date: 2022-12-01T18:04:49+01:00 |
||||
draft: false |
||||
description: "About JILITS" |
||||
images: ["wp2535788-1280px.jpg"] |
||||
|
||||
lightgallery: true |
||||
--- |
||||
|
||||
 |
||||
|
||||
## Background |
||||
|
||||
JILITS is a christian consulting company with a focus on server application hosting with a cloud agnostic approach. Cloud agnostic refers to a cloud design strategy in which applications, tools, and services are designed to migrate seamlessly between multiple cloud platforms or between on-premises and cloud in a hybrid model without disruption of service. Some of the tenets of a cloud-agnostic approach are to support seamless portability independent of the underlying operating system, to ensure limited disruption of the workloads in migration, and to limit the risk of application downtime while enhancing cost efficiencies. The company is run by [Emil Dabrowski](https://www.linkedin.com/in/dbrski/) and was founded in April 2021. |
||||
|
||||
## Expertise |
||||
|
||||
Cloud Native: |
||||
|
||||
- [FluxCD](https://fluxcd.io) |
||||
- [Grafana](https://grafana.com) |
||||
- [Helm](https://helm.sh) |
||||
- [Kubernetes](https://kubernetes.io) |
||||
- [Prometheus](https://prometheus.io) |
||||
- [Thanos](https://thanos.io) |
||||
- [Tekton](https://tekton.dev) |
||||
|
||||
Cloud providers: |
||||
|
||||
- Amazon Web Services (AWS) |
||||
- Azure |
||||
|
||||
Database engines: |
||||
|
||||
- MariaDB |
||||
- PostgreSQL |
||||
|
||||
Programming languages: |
||||
|
||||
- Bash |
||||
- Terraform |
||||
- Python |
||||
- Ansible |
||||
|
||||
Networking: |
||||
|
||||
- DNS |
||||
- Routing |
||||
- Firewalls |
||||
- VPNs |
||||
|
||||
Operating systems: |
||||
|
||||
- Debian |
||||
- Ubuntu |
||||
- Manjaro |
||||
- Amazon Linux |
||||
|
||||
Platforms: |
||||
|
||||
- Docker |
||||
- Proxmox |
||||
- vSphere |
@ -0,0 +1,67 @@ |
||||
--- |
||||
title: "Om oss" |
||||
date: 2022-12-01T18:04:49+01:00 |
||||
draft: false |
||||
description: "Om JILITS" |
||||
# images: ["/Apple-Devices-Preview.png"] |
||||
|
||||
lightgallery: true |
||||
|
||||
math: |
||||
enable: true |
||||
--- |
||||
|
||||
 |
||||
|
||||
## Bakgrund |
||||
|
||||
JILITS รคr ett kristet konsultbolag med fokus pรฅ serverapplikationsdrift med ett molnagnostisk tillvรคgagรฅngssรคtt. Molnagnostisism hรคnvisar till en molndesignstrategi dรคr applikationer, verktyg och tjรคnster รคr utformade fรถr att migrera sรถmlรถst mellan flera molnplattformar eller mellan on-prem och moln i en hybridmodell utan avbrott i tjรคnsten. Nรฅgra av grundsatserna fรถr ett moln-agnostiskt tillvรคgagรฅngssรคtt รคr att stรถdja sรถmlรถs portabilitet oberoende av det underliggande operativsystemet, fรถr att sรคkerstรคlla begrรคnsade avbrott i arbetsbelastningen vid migrering, och att begrรคnsa risken fรถr programavbrott samtidigt som kostnadseffektiviteten fรถrbรคttras. Fรถretaget drivs av [Emil Dabrowski](https://www.linkedin.com/in/dbrski/) och grundades i april 2021. |
||||
|
||||
## Expertis |
||||
|
||||
Cloud Native: |
||||
|
||||
- [FluxCD](https://fluxcd.io) |
||||
- [Grafana](https://grafana.com) |
||||
- [Helm](https://helm.sh) |
||||
- [Kubernetes](https://kubernetes.io) |
||||
- [Prometheus](https://prometheus.io) |
||||
- [Thanos](https://thanos.io) |
||||
- [Tekton](https://tekton.dev) |
||||
|
||||
Molnleverantรถrer: |
||||
|
||||
- Amazon Web Services (AWS) |
||||
- Azure |
||||
|
||||
Databasmotorer: |
||||
|
||||
- MariaDB |
||||
- PostgreSQL |
||||
|
||||
Programmeringssprรฅk: |
||||
|
||||
- Bash |
||||
- Terraform |
||||
- Python |
||||
- Ansible |
||||
|
||||
Nรคtverk: |
||||
|
||||
- DNS |
||||
- Routing |
||||
- Brandvรคggar |
||||
- VPNs |
||||
|
||||
Operativsystem: |
||||
|
||||
- Debian |
||||
- Ubuntu |
||||
- Manjaro |
||||
- Amazon Linux |
||||
|
||||
Plattformar: |
||||
|
||||
- Docker |
||||
- Proxmox |
||||
- vSphere |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 74 KiB |
@ -0,0 +1,31 @@ |
||||
--- |
||||
weight: 1 |
||||
title: "First post" |
||||
date: 2022-12-01T18:04:49+01:00 |
||||
draft: false |
||||
description: "Just a greeting!" |
||||
images: [] |
||||
|
||||
resources: |
||||
- name: "featured-image" |
||||
src: "featured-image.png" |
||||
|
||||
toc: |
||||
enable: false |
||||
--- |
||||
|
||||
Dear visitor, |
||||
|
||||
I'm happy that you've found your way to my website. Surely there's not much here, but perhaps you might find some of the tech on the list below useful on your journey through the internet galaxy ๐ |
||||
|
||||
- [Kubernetes](https://kubernetes.io) |
||||
- [Helm](https://helm.sh) |
||||
- [FluxCD](https://fluxcd.io) |
||||
- [Tekton](https://tekton.dev) |
||||
- [Grafana](https://grafana.com) |
||||
- [Prometheus](https://prometheus.io) |
||||
- [Thanos](https://thanos.io) |
||||
|
||||
Greetings, |
||||
|
||||
Emil |
@ -0,0 +1,771 @@ |
||||
--- |
||||
weight: 4 |
||||
title: "Markdown ๅบๆฌ่ฏญๆณ" |
||||
date: 2019-12-01T21:57:40+08:00 |
||||
lastmod: 2020-01-01T16:45:40+08:00 |
||||
draft: false |
||||
author: "Dillon" |
||||
authorLink: "https://dillonzq.com" |
||||
description: "่ฟ็ฏๆ็ซ ๅฑ็คบไบๅบๆฌ็ Markdown ่ฏญๆณๅๆ ผๅผ." |
||||
images: [] |
||||
resources: |
||||
- name: "featured-image" |
||||
src: "featured-image.png" |
||||
|
||||
tags: ["Markdown", "HTML"] |
||||
categories: ["Markdown"] |
||||
|
||||
lightgallery: true |
||||
--- |
||||
|
||||
่ฟ็ฏๆ็ซ ๆไพไบๅฏไปฅๅจ Hugo ็ๆ็ซ ไธญไฝฟ็จ็ๅบๆฌ Markdown ่ฏญๆณ็คบไพ. |
||||
|
||||
<!--more--> |
||||
|
||||
{{< admonition >}} |
||||
่ฟ็ฏๆ็ซ ๅ้ดไบไธ็ฏๅพๆฃ็[ๆฅ่ช Grav ็ๆ็ซ ](http://learn.getgrav.org/content/markdown). |
||||
|
||||
ๅฆๆไฝ ๆณไบ่งฃ **Loveit** ไธป้ข็ๆฉๅฑ Markdown ่ฏญๆณ, ่ฏท้
่ฏป[ๆฉๅฑ Markdown ่ฏญๆณ้กต้ข](../theme-documentation-content#extended-markdown-syntax). |
||||
{{< /admonition >}} |
||||
|
||||
ไบๅฎไธ, ็ผๅ Web ๅ
ๅฎนๅพ้บป็ฆ. [WYSIWYG]^(ๆ่งๅณๆๅพ) ็ผ่พๅจๅธฎๅฉๅ่ฝปไบ่ฟไธไปปๅก. ไฝ้ๅธธไผๅฏผ่ดไปฃ็ ๅคช็ณ, ๆๆด็ณ็ณ็ๆฏ, ็ฝ้กตไนไผๅพไธ. |
||||
|
||||
ๆฒกๆ้ๅธธไผด้็ๆๆๅคๆๅไธ้็้ฎ้ข, **Markdown** ๆฏไธ็งๆดๅฅฝ็็ๆ **HTML** ๅ
ๅฎน็ๆนๅผ. |
||||
|
||||
ไธไบไธป่ฆๅฅฝๅคๆฏ: |
||||
|
||||
1. Markdown ็ฎๅๆๅญฆ, ๅ ไนๆฒกๆๅคไฝ็ๅญ็ฌฆ, ๅ ๆญค็ผๅๅ
ๅฎนไนๆดๅฟซ. |
||||
2. ็จ Markdown ไนฆๅๆถๅบ้็ๆบไผๆดๅฐ. |
||||
3. ๅฏไปฅไบง็ๆๆ็ XHTML ่พๅบ. |
||||
4. ๅฐๅ
ๅฎนๅ่ง่งๆพ็คบไฟๆๅๅผ, ่ฟๆ ทๅฐฑไธไผๆไนฑ็ฝ็ซ็ๅค่ง. |
||||
5. ๅฏไปฅๅจไฝ ๅๆฌข็ไปปไฝๆๆฌ็ผ่พๅจๆ Markdown ๅบ็จ็จๅบไธญ็ผๅๅ
ๅฎน. |
||||
6. Markdown ไฝฟ็จ่ตทๆฅๅพๆ่ถฃ! |
||||
|
||||
John Gruber, Markdown ็ไฝ่
ๅฆๆฏ่ฏด: |
||||
|
||||
> Markdown ๆ ผๅผ็้ฆ่ฆ่ฎพ่ฎก็ฎๆ ๆฏๆดๅ
ทๅฏ่ฏปๆง. |
||||
> ๆๅ็ๆณๆณๆฏ Markdown ๆ ผๅผ็ๆๆกฃๅบๅฝไปฅ็บฏๆๆฌๅฝขๅผๅๅธ, |
||||
> ่ไธไผ็่ตทๆฅๅ่ขซๆ ็ญพๆๆ ผๅผ่ฏดๆๆๆ ่ฎฐ. |
||||
> ่ฝ็ถ Markdown ็่ฏญๆณๅๅฐๅ ็ง็ฐๆ็ๆๆฌๅฐ HTML ่ฝฌๆขๅทฅๅ
ท็ๅฝฑๅ, |
||||
> ไฝ Markdown ่ฏญๆณ็ๆๅคง็ตๆๆฅๆบๆฏ็บฏๆๆฌ็ตๅญ้ฎไปถ็ๆ ผๅผ. |
||||
> |
||||
> {{< style "text-align: right;" >}}-- _John Gruber_{{< /style >}} |
||||
|
||||
่ฏไธๅค่ฏด, ๆไปฌๆฅๅ้กพไธไธ Markdown ็ไธป่ฆ่ฏญๆณไปฅๅ็ๆ็ HTML ๆ ทๅผ! |
||||
|
||||
{{< admonition tip >}} |
||||
:(far fa-bookmark fa-fw): ๅฐๆญค้กตไฟๅญไธบไนฆ็ญพ๏ผไปฅๅคๅฐๆฅๅ่! |
||||
{{< /admonition >}} |
||||
|
||||
## 1 ๆ ้ข |
||||
|
||||
ไป `h2` ๅฐ `h6` ็ๆ ้ขๅจๆฏไธช็บงๅซไธ้ฝๅ ไธไธไธช `๏ผ`: |
||||
|
||||
```markdown |
||||
## h2 ๆ ้ข |
||||
### h3 ๆ ้ข |
||||
#### h4 ๆ ้ข |
||||
##### h5 ๆ ้ข |
||||
###### h6 ๆ ้ข |
||||
``` |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<h2>h2 ๆ ้ข</h2> |
||||
<h3>h3 ๆ ้ข</h3> |
||||
<h4>h4 ๆ ้ข</h4> |
||||
<h5>h5 ๆ ้ข</h5> |
||||
<h6>h6 ๆ ้ข</h6> |
||||
``` |
||||
|
||||
{{< admonition note "ๆ ้ข ID" >}} |
||||
่ฆๆทปๅ ่ชๅฎไนๆ ้ข ID, ่ฏทๅจไธๆ ้ข็ธๅ็่กไธญๅฐ่ชๅฎไน ID ๆพๅจ่ฑๆฌๅทไธญ: |
||||
|
||||
```markdown |
||||
### ไธไธชๅพๆฃ็ๆ ้ข {#custom-id} |
||||
``` |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<h3 id="custom-id">ไธไธชๅพๆฃ็ๆ ้ข</h3> |
||||
``` |
||||
{{< /admonition >}} |
||||
|
||||
## 2 ๆณจ้ |
||||
|
||||
ๆณจ้ๆฏๅ HTML ๅ
ผๅฎน็๏ผ |
||||
|
||||
```html |
||||
<!-- |
||||
่ฟๆฏไธๆฎตๆณจ้ |
||||
--> |
||||
``` |
||||
|
||||
**ไธ่ฝ**็ๅฐไปฅไธ็ๆณจ้: |
||||
|
||||
<!-- |
||||
่ฟๆฏไธๆฎตๆณจ้ |
||||
--> |
||||
|
||||
## 3 ๆฐดๅนณ็บฟ |
||||
|
||||
HTML ไธญ็ `<hr>` ๆ ็ญพๆฏ็จๆฅๅจๆฎต่ฝๅ
็ด ไน้ดๅๅปบไธไธช "ไธ้ข้ด้" ็. |
||||
ไฝฟ็จ Markdown, ไฝ ๅฏไปฅ็จไปฅไธๆนๅผๅๅปบไธไธช `<hr>` ๆ ็ญพ: |
||||
|
||||
* `___`: ไธไธช่ฟ็ปญ็ไธๅ็บฟ |
||||
* `---`: ไธไธช่ฟ็ปญ็็ ดๆๅท |
||||
* `***`: ไธไธช่ฟ็ปญ็ๆๅท |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
___ |
||||
--- |
||||
*** |
||||
|
||||
## 4 ๆฎต่ฝ |
||||
|
||||
ๆ็
ง็บฏๆๆฌ็ๆนๅผไนฆๅๆฎต่ฝ, ็บฏๆๆฌๅจๅ็ฐ็ HTML ไธญๅฐ็จ `<p>`/`</p>` ๆ ็ญพๅ
่ฃน. |
||||
|
||||
ๅฆไธๆฎต่ฝ: |
||||
|
||||
```markdown |
||||
Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, |
||||
animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, |
||||
soluta officiis concludaturque ei qui, vide sensibus vim ad. |
||||
``` |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<p>Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</p> |
||||
``` |
||||
|
||||
ๅฏไปฅไฝฟ็จไธไธช็ฉบ็ฝ่ก่ฟ่ก**ๆข่ก**. |
||||
|
||||
## 5 ๅ
่ HTML ๅ
็ด |
||||
|
||||
ๅฆๆไฝ ้่ฆๆไธช HTML ๆ ็ญพ (ๅธฆๆไธไธช็ฑป), ๅๅฏไปฅ็ฎๅๅฐๅ่ฟๆ ทไฝฟ็จ: |
||||
|
||||
```html |
||||
Markdown ๆ ผๅผ็ๆฎต่ฝ. |
||||
|
||||
<div class="class"> |
||||
่ฟๆฏ <b>HTML</b> |
||||
</div> |
||||
|
||||
Markdown ๆ ผๅผ็ๆฎต่ฝ. |
||||
``` |
||||
|
||||
## 6 ๅผบ่ฐ |
||||
|
||||
### ๅ ็ฒ |
||||
|
||||
็จไบๅผบ่ฐๅธฆๆ่พ็ฒๅญไฝ็ๆๆฌ็ๆฎต. |
||||
|
||||
ไปฅไธๆๆฌ็ๆฎตไผ่ขซ **ๆธฒๆไธบ็ฒไฝ**. |
||||
|
||||
```markdown |
||||
**ๆธฒๆไธบ็ฒไฝ** |
||||
__ๆธฒๆไธบ็ฒไฝ__ |
||||
``` |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<strong>ๆธฒๆไธบ็ฒไฝ</strong> |
||||
``` |
||||
|
||||
### ๆไฝ |
||||
|
||||
็จไบๅผบ่ฐๅธฆๆๆไฝ็ๆๆฌ็ๆฎต. |
||||
|
||||
ไปฅไธๆๆฌ็ๆฎต่ขซ _ๆธฒๆไธบๆไฝ_. |
||||
|
||||
```markdown |
||||
*ๆธฒๆไธบๆไฝ* |
||||
_ๆธฒๆไธบๆไฝ_ |
||||
``` |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<em>ๆธฒๆไธบๆไฝ</em> |
||||
``` |
||||
|
||||
### ๅ ้ค็บฟ |
||||
|
||||
ๆ็
ง [[GFM]^(GitHub flavored Markdown)](https://github.github.com/gfm/) ไฝ ๅฏไปฅไฝฟ็จๅ ้ค็บฟ. |
||||
|
||||
```markdown |
||||
~~่ฟๆฎตๆๆฌๅธฆๆๅ ้ค็บฟ.~~ |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
~~่ฟๆฎตๆๆฌๅธฆๆๅ ้ค็บฟ.~~ |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<del>่ฟๆฎตๆๆฌๅธฆๆๅ ้ค็บฟ.</del> |
||||
``` |
||||
|
||||
### ็ปๅ |
||||
|
||||
ๅ ็ฒ, ๆไฝ, ๅๅ ้ค็บฟๅฏไปฅ ็ปๅไฝฟ็จ. |
||||
|
||||
```markdown |
||||
***ๅ ็ฒๅๆไฝ*** |
||||
~~**ๅ ้ค็บฟๅๅ ็ฒ**~~ |
||||
~~*ๅ ้ค็บฟๅๆไฝ*~~ |
||||
~~***ๅ ็ฒ, ๆไฝๅๅ ้ค็บฟ***~~ |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
***ๅ ็ฒๅๆไฝ*** |
||||
|
||||
~~**ๅ ้ค็บฟๅๅ ็ฒ**~~ |
||||
|
||||
~~*ๅ ้ค็บฟๅๆไฝ*~~ |
||||
|
||||
~~***ๅ ็ฒ, ๆไฝๅๅ ้ค็บฟ***~~ |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<em><strong>ๅ ็ฒๅๆไฝ</strong></em> |
||||
<del><strong>ๅ ้ค็บฟๅๅ ็ฒ</strong></del> |
||||
<del><em>ๅ ้ค็บฟๅๆไฝ</em></del> |
||||
<del><em><strong>ๅ ็ฒ, ๆไฝๅๅ ้ค็บฟ</strong></em></del> |
||||
``` |
||||
|
||||
## 7 ๅผ็จ |
||||
|
||||
็จไบๅจๆๆกฃไธญๅผ็จๅ
ถไปๆฅๆบ็ๅ
ๅฎนๅ. |
||||
|
||||
ๅจ่ฆๅผ็จ็ไปปไฝๆๆฌไนๅๆทปๅ `>`: |
||||
|
||||
```markdown |
||||
> **Fusion Drive** combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined. |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
> **Fusion Drive** combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined. |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<blockquote> |
||||
<p> |
||||
<strong>Fusion Drive</strong> combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined. |
||||
</p> |
||||
</blockquote> |
||||
``` |
||||
|
||||
ๅผ็จไนๅฏไปฅๅตๅฅ: |
||||
|
||||
```markdown |
||||
> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. |
||||
Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi. |
||||
>> Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor |
||||
odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam. |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. |
||||
Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi. |
||||
>> Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor |
||||
odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam. |
||||
|
||||
## 8 ๅ่กจ |
||||
|
||||
### ๆ ๅบๅ่กจ |
||||
|
||||
ไธ็ณปๅ้กน็ๅ่กจ, ๅ
ถไธญ้กน็้กบๅบๆฒกๆๆๆพๅ
ณ็ณป. |
||||
|
||||
ไฝ ๅฏไปฅไฝฟ็จไปฅไธไปปไฝ็ฌฆๅทๆฅ่กจ็คบๆ ๅบๅ่กจไธญ็้กน: |
||||
|
||||
```markdown |
||||
* ไธ้กนๅ
ๅฎน |
||||
- ไธ้กนๅ
ๅฎน |
||||
+ ไธ้กนๅ
ๅฎน |
||||
``` |
||||
|
||||
ไพๅฆ: |
||||
|
||||
```markdown |
||||
* Lorem ipsum dolor sit amet |
||||
* Consectetur adipiscing elit |
||||
* Integer molestie lorem at massa |
||||
* Facilisis in pretium nisl aliquet |
||||
* Nulla volutpat aliquam velit |
||||
* Phasellus iaculis neque |
||||
* Purus sodales ultricies |
||||
* Vestibulum laoreet porttitor sem |
||||
* Ac tristique libero volutpat at |
||||
* Faucibus porta lacus fringilla vel |
||||
* Aenean sit amet erat nunc |
||||
* Eget porttitor lorem |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
* Lorem ipsum dolor sit amet |
||||
* Consectetur adipiscing elit |
||||
* Integer molestie lorem at massa |
||||
* Facilisis in pretium nisl aliquet |
||||
* Nulla volutpat aliquam velit |
||||
* Phasellus iaculis neque |
||||
* Purus sodales ultricies |
||||
* Vestibulum laoreet porttitor sem |
||||
* Ac tristique libero volutpat at |
||||
* Faucibus porta lacus fringilla vel |
||||
* Aenean sit amet erat nunc |
||||
* Eget porttitor lorem |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<ul> |
||||
<li>Lorem ipsum dolor sit amet</li> |
||||
<li>Consectetur adipiscing elit</li> |
||||
<li>Integer molestie lorem at massa</li> |
||||
<li>Facilisis in pretium nisl aliquet</li> |
||||
<li>Nulla volutpat aliquam velit |
||||
<ul> |
||||
<li>Phasellus iaculis neque</li> |
||||
<li>Purus sodales ultricies</li> |
||||
<li>Vestibulum laoreet porttitor sem</li> |
||||
<li>Ac tristique libero volutpat at</li> |
||||
</ul> |
||||
</li> |
||||
<li>Faucibus porta lacus fringilla vel</li> |
||||
<li>Aenean sit amet erat nunc</li> |
||||
<li>Eget porttitor lorem</li> |
||||
</ul> |
||||
``` |
||||
|
||||
### ๆๅบๅ่กจ |
||||
|
||||
ไธ็ณปๅ้กน็ๅ่กจ, ๅ
ถไธญ้กน็้กบๅบ็กฎๅฎๅพ้่ฆ. |
||||
|
||||
```markdown |
||||
1. Lorem ipsum dolor sit amet |
||||
2. Consectetur adipiscing elit |
||||
3. Integer molestie lorem at massa |
||||
4. Facilisis in pretium nisl aliquet |
||||
5. Nulla volutpat aliquam velit |
||||
6. Faucibus porta lacus fringilla vel |
||||
7. Aenean sit amet erat nunc |
||||
8. Eget porttitor lorem |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
1. Lorem ipsum dolor sit amet |
||||
2. Consectetur adipiscing elit |
||||
3. Integer molestie lorem at massa |
||||
4. Facilisis in pretium nisl aliquet |
||||
5. Nulla volutpat aliquam velit |
||||
6. Faucibus porta lacus fringilla vel |
||||
7. Aenean sit amet erat nunc |
||||
8. Eget porttitor lorem |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<ol> |
||||
<li>Lorem ipsum dolor sit amet</li> |
||||
<li>Consectetur adipiscing elit</li> |
||||
<li>Integer molestie lorem at massa</li> |
||||
<li>Facilisis in pretium nisl aliquet</li> |
||||
<li>Nulla volutpat aliquam velit</li> |
||||
<li>Faucibus porta lacus fringilla vel</li> |
||||
<li>Aenean sit amet erat nunc</li> |
||||
<li>Eget porttitor lorem</li> |
||||
</ol> |
||||
``` |
||||
|
||||
{{< admonition tip >}} |
||||
ๅฆๆไฝ ๅฏนๆฏไธ้กนไฝฟ็จ `1.`, Markdown ๅฐ่ชๅจไธบๆฏไธ้กน็ผๅท. ไพๅฆ: |
||||
|
||||
```markdown |
||||
1. Lorem ipsum dolor sit amet |
||||
1. Consectetur adipiscing elit |
||||
1. Integer molestie lorem at massa |
||||
1. Facilisis in pretium nisl aliquet |
||||
1. Nulla volutpat aliquam velit |
||||
1. Faucibus porta lacus fringilla vel |
||||
1. Aenean sit amet erat nunc |
||||
1. Eget porttitor lorem |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
1. Lorem ipsum dolor sit amet |
||||
1. Consectetur adipiscing elit |
||||
1. Integer molestie lorem at massa |
||||
1. Facilisis in pretium nisl aliquet |
||||
1. Nulla volutpat aliquam velit |
||||
1. Faucibus porta lacus fringilla vel |
||||
1. Aenean sit amet erat nunc |
||||
1. Eget porttitor lorem |
||||
{{< /admonition >}} |
||||
|
||||
### ไปปๅกๅ่กจ |
||||
|
||||
ไปปๅกๅ่กจไฝฟไฝ ๅฏไปฅๅๅปบๅธฆๆๅค้ๆก็ๅ่กจ. |
||||
่ฆๅๅปบไปปๅกๅ่กจ, ่ฏทๅจไปปๅกๅ่กจ้กนไนๅๆทปๅ ็ ดๆๅท (`-`) ๅๅธฆๆ็ฉบๆ ผ็ๆนๆฌๅท (`[ ]`). ่ฆ้ๆฉไธไธชๅค้ๆก๏ผ่ฏทๅจๆนๆฌๅทไน้ดๆทปๅ x (`[x]`). |
||||
|
||||
```markdown |
||||
- [x] Write the press release |
||||
- [ ] Update the website |
||||
- [ ] Contact the media |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
- [x] Write the press release |
||||
- [ ] Update the website |
||||
- [ ] Contact the media |
||||
|
||||
## 9 ไปฃ็ |
||||
|
||||
### ่กๅ
ไปฃ็ |
||||
|
||||
็จ <code>`</code> ๅ
่ฃ
่กๅ
ไปฃ็ ๆฎต. |
||||
|
||||
```markdown |
||||
ๅจ่ฟไธชไพๅญไธญ, `<section></section>` ไผ่ขซๅ
่ฃนๆ **ไปฃ็ **. |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
ๅจ่ฟไธชไพๅญไธญ, `<section></section>` ไผ่ขซๅ
่ฃนๆ **ไปฃ็ **. |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<p> |
||||
ๅจ่ฟไธชไพๅญไธญ, <code><section></section></code> ไผ่ขซๅ
่ฃนๆ <strong>ไปฃ็ </strong>. |
||||
</p> |
||||
``` |
||||
|
||||
### ็ผฉ่ฟไปฃ็ |
||||
|
||||
ๅฐๅ ่กไปฃ็ ็ผฉ่ฟ่ณๅฐๅไธช็ฉบๆ ผ๏ผไพๅฆ: |
||||
|
||||
```markdown |
||||
// Some comments |
||||
line 1 of code |
||||
line 2 of code |
||||
line 3 of code |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
// Some comments |
||||
line 1 of code |
||||
line 2 of code |
||||
line 3 of code |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<pre> |
||||
<code> |
||||
// Some comments |
||||
line 1 of code |
||||
line 2 of code |
||||
line 3 of code |
||||
</code> |
||||
</pre> |
||||
``` |
||||
|
||||
### ๅดๆ ไปฃ็ ๅ |
||||
|
||||
ไฝฟ็จ "ๅดๆ " <code>```</code> ๆฅ็ๆไธๆฎตๅธฆๆ่ฏญ่จๅฑๆง็ไปฃ็ ๅ. |
||||
|
||||
{{< highlight markdown >}} |
||||
```markdown |
||||
Sample text here... |
||||
``` |
||||
{{< / highlight >}} |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<pre language-html> |
||||
<code>Sample text here...</code> |
||||
</pre> |
||||
``` |
||||
|
||||
### ่ฏญๆณ้ซไบฎ |
||||
|
||||
[GFM]^(GitHub Flavored Markdown) ไนๆฏๆ่ฏญๆณ้ซไบฎ. |
||||
|
||||
่ฆๆฟๆดปๅฎ๏ผๅช้ๅจ็ฌฌไธไธชไปฃ็ "ๅดๆ " ไนๅ็ดๆฅๆทปๅ ไฝ ่ฆไฝฟ็จ็่ฏญ่จ็ๆไปถๆฉๅฑๅ, |
||||
<code>```js</code>, ่ฏญๆณ้ซไบฎๆพ็คบๅฐ่ชๅจๅบ็จไบๆธฒๆ็ HTML ไธญ. |
||||
|
||||
ไพๅฆ, ๅจไปฅไธ JavaScript ไปฃ็ ไธญๅบ็จ่ฏญๆณ้ซไบฎ: |
||||
|
||||
{{< highlight markdown >}} |
||||
```js |
||||
grunt.initConfig({ |
||||
assemble: { |
||||
options: { |
||||
assets: 'docs/assets', |
||||
data: 'src/data/*.{json,yml}', |
||||
helpers: 'src/custom-helpers.js', |
||||
partials: ['src/partials/**/*.{hbs,md}'] |
||||
}, |
||||
pages: { |
||||
options: { |
||||
layout: 'default.hbs' |
||||
}, |
||||
files: { |
||||
'./': ['src/templates/pages/index.hbs'] |
||||
} |
||||
} |
||||
} |
||||
}; |
||||
``` |
||||
{{< / highlight >}} |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
```js |
||||
grunt.initConfig({ |
||||
assemble: { |
||||
options: { |
||||
assets: 'docs/assets', |
||||
data: 'src/data/*.{json,yml}', |
||||
helpers: 'src/custom-helpers.js', |
||||
partials: ['src/partials/**/*.{hbs,md}'] |
||||
}, |
||||
pages: { |
||||
options: { |
||||
layout: 'default.hbs' |
||||
}, |
||||
files: { |
||||
'./': ['src/templates/pages/index.hbs'] |
||||
} |
||||
} |
||||
} |
||||
}; |
||||
``` |
||||
|
||||
{{< admonition >}} |
||||
**Hugo** ๆๆกฃไธญ็ [่ฏญๆณ้ซไบฎ้กต้ข](https://gohugo.io/content-management/syntax-highlighting/) ไป็ปไบๆๅ
ณ่ฏญๆณ้ซไบฎ็ๆดๅคไฟกๆฏ, |
||||
ๅ
ๆฌ่ฏญๆณ้ซไบฎ็ shortcode. |
||||
{{< /admonition >}} |
||||
|
||||
## 10 ่กจๆ ผ |
||||
|
||||
้่ฟๅจๆฏไธชๅๅ
ๆ ผไน้ดๆทปๅ ็ซ็บฟไฝไธบๅ้็บฟ, ๅนถๅจๆ ้ขไธๆทปๅ ไธ่ก็ ดๆๅท (ไน็ฑ็ซ็บฟๅ้) ๆฅๅๅปบ่กจๆ ผ. ๆณจๆ, ็ซ็บฟไธ้่ฆๅ็ดๅฏน้ฝ. |
||||
|
||||
```markdown |
||||
| Option | Description | |
||||
| ------ | ----------- | |
||||
| data | path to data files to supply the data that will be passed into templates. | |
||||
| engine | engine to be used for processing templates. Handlebars is the default. | |
||||
| ext | extension to be used for dest files. | |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
| Option | Description | |
||||
| ------ | ----------- | |
||||
| data | path to data files to supply the data that will be passed into templates. | |
||||
| engine | engine to be used for processing templates. Handlebars is the default. | |
||||
| ext | extension to be used for dest files. | |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<table> |
||||
<thead> |
||||
<tr> |
||||
<th>Option</th> |
||||
<th>Description</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr> |
||||
<td>data</td> |
||||
<td>path to data files to supply the data that will be passed into templates.</td> |
||||
</tr> |
||||
<tr> |
||||
<td>engine</td> |
||||
<td>engine to be used for processing templates. Handlebars is the default.</td> |
||||
</tr> |
||||
<tr> |
||||
<td>ext</td> |
||||
<td>extension to be used for dest files.</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
``` |
||||
|
||||
{{< admonition note "ๆๆฌๅณๅฏน้ฝๆๅฑ
ไธญๅฏน้ฝ" >}} |
||||
ๅจไปปไฝๆ ้ขไธๆน็็ ดๆๅทๅณไพงๆทปๅ ๅๅทๅฐไฝฟ่ฏฅๅ็ๆๆฌๅณๅฏน้ฝ. |
||||
|
||||
ๅจไปปไฝๆ ้ขไธๆน็็ ดๆๅทไธค่พนๆทปๅ ๅๅทๅฐไฝฟ่ฏฅๅ็ๅฏน้ฝๆๆฌๅฑ
ไธญ. |
||||
|
||||
```markdown |
||||
| Option | Description | |
||||
|:------:| -----------:| |
||||
| data | path to data files to supply the data that will be passed into templates. | |
||||
| engine | engine to be used for processing templates. Handlebars is the default. | |
||||
| ext | extension to be used for dest files. | |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ: |
||||
|
||||
| Option | Description | |
||||
|:------:| -----------:| |
||||
| data | path to data files to supply the data that will be passed into templates. | |
||||
| engine | engine to be used for processing templates. Handlebars is the default. | |
||||
| ext | extension to be used for dest files. | |
||||
{{< /admonition >}} |
||||
|
||||
## 11 ้พๆฅ {#links} |
||||
|
||||
### ๅบๆฌ้พๆฅ |
||||
|
||||
```markdown |
||||
<https://assemble.io> |
||||
<contact@revolunet.com> |
||||
[Assemble](https://assemble.io) |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ (ๅฐ้ผ ๆ ๆฌๅๅจ้พๆฅไธ๏ผๆฒกๆๆ็คบ): |
||||
|
||||
<https://assemble.io> |
||||
|
||||
<contact@revolunet.com> |
||||
|
||||
[Assemble](https://assemble.io) |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<a href="https://assemble.io">https://assemble.io</a> |
||||
<a href="mailto:contact@revolunet.com">contact@revolunet.com</a> |
||||
<a href="https://assemble.io">Assemble</a> |
||||
``` |
||||
|
||||
### ๆทปๅ ไธไธชๆ ้ข |
||||
|
||||
```markdown |
||||
[Upstage](https://github.com/upstage/ "Visit Upstage!") |
||||
``` |
||||
|
||||
ๅ็ฐ็่พๅบๆๆๅฆไธ (ๅฐ้ผ ๆ ๆฌๅๅจ้พๆฅไธ๏ผไผๆไธ่กๆ็คบ): |
||||
|
||||
[Upstage](https://github.com/upstage/ "Visit Upstage!") |
||||
|
||||
่พๅบ็ HTML ็่ตทๆฅๅ่ฟๆ ท: |
||||
|
||||
```html |
||||
<a href="https://github.com/upstage/" title="Visit Upstage!">Upstage</a> |
||||
``` |
||||
|
||||
### ๅฎไฝๆ ่ฎฐ |
||||
|
||||
ๅฎไฝๆ ่ฎฐไฝฟไฝ ๅฏไปฅ่ทณ่ณๅไธ้กต้ขไธ็ๆๅฎ้็น. ไพๅฆ, ๆฏไธช็ซ ่: |
||||
|
||||
```markdown |
||||
## Table of Contents |
||||
* [Chapter 1](#chapter-1) |
||||
* [Chapter 2](#chapter-2) |
||||
* [Chapter 3](#chapter-3) |
||||
``` |
||||
|
||||
ๅฐ่ทณ่ฝฌๅฐ่ฟไบ้จๅ: |
||||
|
||||
```markdown |
||||
## Chapter 1 <a id="chapter-1"></a> |
||||
Content for chapter one. |
||||
|
||||
## Chapter 2 <a id="chapter-2"></a> |
||||
Content for chapter one. |
||||
|
||||
## Chapter 3 <a id="chapter-3"></a> |
||||
Content for chapter one. |
||||
``` |
||||
|
||||
{{< admonition >}} |
||||
ๅฎไฝๆ ่ฎฐ็ไฝ็ฝฎๅ ไนๆฏไปปๆ็. ๅ ไธบๅฎไปฌๅนถไธๅผไบบๆณจ็ฎ, ๆไปฅๅฎไปฌ้ๅธธ่ขซๆพๅจๅไธ่กไบ. |
||||
{{< /admonition >}} |
||||
|
||||
## 12 ่ๆณจ |
||||
|
||||
่ๆณจไฝฟไฝ ๅฏไปฅๆทปๅ ๆณจ้ๅๅ่, ่ไธไผไฝฟๆๆกฃๆญฃๆๆททไนฑ. |
||||
ๅฝไฝ ๅๅปบ่ๆณจๆถ, ไผๅจๆทปๅ ่ๆณจๅผ็จ็ไฝ็ฝฎๅบ็ฐๅธฆๆ้พๆฅ็ไธๆ ็ผๅท. |
||||
่ฏป่
ๅฏไปฅๅๅป้พๆฅไปฅ่ทณ่ณ้กต้ขๅบ้จ็่ๆณจๅ
ๅฎน. |
||||
|
||||
่ฆๅๅปบ่ๆณจๅผ็จ, ่ฏทๅจๆนๆฌๅทไธญๆทปๅ ๆๅ
ฅ็ฌฆๅทๅๆ ่ฏ็ฌฆ (`[^1]`). |
||||
ๆ ่ฏ็ฌฆๅฏไปฅๆฏๆฐๅญๆๅ่ฏ, ไฝไธ่ฝๅ
ๅซ็ฉบๆ ผๆๅถ่กจ็ฌฆ. |
||||
ๆ ่ฏ็ฌฆไป
ๅฐ่ๆณจๅผ็จไธ่ๆณจๆฌ่บซ็ธๅ
ณ่ - ๅจ่ๆณจ่พๅบไธญ, ่ๆณจๆ้กบๅบ็ผๅท. |
||||
|
||||
ๅจไธญๆฌๅทๅ
ไฝฟ็จๆๅ
ฅ็ฌฆๅทๅๆฐๅญไปฅๅ็จๅๅทๅๆๆฌๆฅๆทปๅ ่ๆณจๅ
ๅฎน (`[^1]๏ผ่ฟๆฏไธๆฎต่ๆณจ`). |
||||
ไฝ ไธไธๅฎ่ฆๅจๆๆกฃๆซๅฐพๆทปๅ ่ๆณจ. ๅฏไปฅๅฐๅฎไปฌๆพๅจ้คๅ่กจ, ๅผ็จๅ่กจๆ ผ็ญๅ
็ด ไนๅค็ไปปไฝไฝ็ฝฎ. |
||||
|
||||
```markdown |
||||
่ฟๆฏไธไธชๆฐๅญ่ๆณจ[^1]. |
||||
่ฟๆฏไธไธชๅธฆๆ ็ญพ็่ๆณจ[^label] |
||||
|
||||
[^1]: ่ฟๆฏไธไธชๆฐๅญ่ๆณจ |
||||
[^label]: ่ฟๆฏไธไธชๅธฆๆ ็ญพ็่ๆณจ |
||||
``` |
||||
|
||||
่ฟๆฏไธไธชๆฐๅญ่ๆณจ[^1]. |
||||
|
||||
่ฟๆฏไธไธชๅธฆๆ ็ญพ็่ๆณจ[^label] |
||||
|
||||
[^1]: ่ฟๆฏไธไธชๆฐๅญ่ๆณจ |
||||
[^label]: ่ฟๆฏไธไธชๅธฆๆ ็ญพ็่ๆณจ |
||||
|
||||
## 13 ๅพ็ |
||||
|
||||
ๅพ็็่ฏญๆณไธ้พๆฅ็ธไผผ, ไฝๅ
ๅซไธไธชๅจๅ้ข็ๆๅนๅท. |
||||
|
||||
```markdown |
||||
 |
||||
``` |
||||
|
||||
 |
||||
|
||||
ๆ่
: |
||||
|
||||
```markdown |
||||
 |
||||
``` |
||||
|
||||
 |
||||
|
||||
ๅ้พๆฅไธๆ ท, ๅพ็ไนๅ
ทๆ่ๆณจๆ ทๅผ็่ฏญๆณ: |
||||
|
||||
```markdown |
||||
![Alt text][id] |
||||
``` |
||||
|
||||
![Alt text][id] |
||||
|
||||
็จๅๅจๆๆกฃไธญๆไพๅ่ๅ
ๅฎน, ็จๆฅๅฎไน URL ็ไฝ็ฝฎ: |
||||
|
||||
```markdown |
||||
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" |
||||
``` |
||||
|
||||
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" |
||||
|
||||
{{< admonition tip >}} |
||||
**LoveIt** ไธป้ขๆไพไบไธไธชๅ
ๅซๆดๅคๅ่ฝ็ [ๅพ็็ shortcode](../theme-documentation-extended-shortcodes#image). |
||||
{{< /admonition >}} |
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 557 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 15 KiB |