Jekyll is a static site generator that takes Markdown files and converts them to a website. Jekyll is a free and open-source application written in the Ruby programming language. Thousands of websites, including the Markdown Guide, rely on Jekyll to convert Markdown source files to HTML output. GitHub Pages uses Jekyll as the backend for its free website creation service.
By default, Jekyll uses the kramdown Markdown processor with stock settings, but you can enable other kramdown options or even switch Jekyll to another Markdown processor. See the Jekyll Markdown configuration options documentation for more information. You can change Jekyll’s kramdown settings in the _config.yml
file. The settings for the Markdown Guide are shown below.
kramdown:
syntax_highlighter: rouge
input: GFM
auto_ids: true
toc_levels: 1..3
Jekyll menyediakan dukungan elemen-elemen Markdown berikut ini.
Elemen Dokumen | Dukungan | Catatan |
---|---|---|
Judul | Ya | |
Paragraf | Ya | |
Ganti Baris | Ya | |
Tulisan Tebal | Ya | |
Tulisan Miring | Ya | |
Kutipan | Ya | |
Daftar Bernomor | Ya | |
Daftar Tanpa Nomor | Ya | |
Kode/Perintah | Ya | |
Garis Mendatar | Ya | |
Tautan (Rujukan) | Ya | |
Gambar | Ya | |
Tabel | Ya | |
Blok Kode/Program | Ya | |
Penyorotan Sintaks | Ya | Make sure that syntax_highlighter: rouge is in the kramdown section of the _config.yml file.
|
Catatan Kaki | Ya | |
Nama (ID) Judul | Ya | |
Daftar Istilah | Ya | |
Tulisan Dicoret | Ya | You can use two tildes (~~word~~ ) or one tilde (~word~ ) — both work.
|
Daftar Tugas | Ya | |
Emoji/Ikon emosi (salin dan tempel) | Ya | |
Emoji/Ikon emosi (kode) | Tidak | Not supported by default, but you can use the jemoji plugin to enable support. |
Tautan/Rujukan URL Otomatis | Ya | |
Menon-aktifkan Tautan/Rujukan URL | Ya | |
Perintah/tag HTML | Ya |
As an added bonus, Jekyll provides support for several obscure elements.
Element | Markdown | Rendered Output |
---|---|---|
Abbreviation | *[HTML]: Hyper Text Markup Language The HTML specification is maintained by the W3C. |
The HTML specification is maintained by the W3C. |
Pelajari Markdown dalam 60 halaman. Dirancang untuk pemula dan ahli, buku Panduan Markdown ini adalah referensi komprehensif yang memiliki semua yang Anda butuhkan untuk memulai dan menguasai sintaks Markdown.
Dapatkan buku tersebutJangan berhenti! 😎 Beri tanda bintang situs repositori GitHub, daftarkan alamat e-mail Anda untuk menerima tutorial Markdown yang baru melalui e-mail. Bebas spam!