Andley_BG4e/cheatsheet.md

6.5 KiB
Raw Blame History

puppeteer
displayHeaderFooter printBackground margin
true true
top right bottom left
2cm 2cm 2cm 2cm
שֹׁ֥חַד לָֽקְחוּ־בָ֖ךְ לְמַ֣עַן שְׁפָךְ־דָּ֑ם נֶ֧שֶׁךְ וְתַרְבִּ֣ית לָקַ֗חַתְּ וַתְּבַצְּעִ֤י רֵעַ֙יִךְ֙ בַּעֹ֔שֶׁק וְאֹתִ֣י שָׁכַ֔חַתְּ נְאֻ֖ם אֲדֹנָ֥י יְהוִֽה׃
sdcsdcdsc 6

標題 1

level 2

level 3

4

5
6

[TOC]


粗體
斜體
斜粗體
==hight light==
hight light


code

強迫分頁碼

HTML 特殊

靠左對齊
- 靠右對齊 - dscdscdsc

靠左對齊靠右對齊


Ruby

ἀλλὰNeverthelessἀλλάCONJ ἐβασίλευσενreignedβασιλεύωV-AAI-3S T-NSM θάνατοςdeathθάνατοςN-NSM ἀλλὰNeverthelessἀλλάCONJ ἐβασίλευσενreignedβασιλεύωV-AAI-3S T-NSM θάνατοςdeathθάνατοςN-NSM ἀλλὰNeverthelessἀλλάCONJ ἐβασίλευσενreignedβασιλεύωV-AAI-3S T-NSM θάνατοςdeathθάνατοςN-NSM ἀλλὰNeverthelessἀλλάCONJ ἐβασίλευσενreignedβασιλεύωV-AAI-3S T-NSM θάνατοςdeathθάνατοςN-NSM


px ⇔ pt (Windows)

windows default = 96 DPI 72 pt = 1 inch = 96 px

Points Pixels
9pt 12px
10pt 13px
10.5pt 14px
11pt 15px
12pt 16px
13pt 17px
14pt 19px
16pt 22px
18pt 24px
20pt 26px
22pt 29px
24pt 32px
26pt 35px
28pt 37px
30pt 40px

特殊符號

用 Windows 鍵 + .

Unicode result UniCode result
U00AB « U00BB »
U25C2 U25B8
U2190 U2192
U21D2 U21D0
U2235 U2234
U00A7 § U2015
U21B5

引用

文字下標a

雙重引用上標b


註腳

本文帶註腳1

註腳1

The PDF link should work2

References

連結

[[ 其他文章連結IGNT/01.md

其他文章內的段落1.1 三個動詞觀點 (The Three Verbal Aspects)

本文內的段落bottom qq

表格

Markdown Engine Align Center Align right
Still renders nicely
1 2 3
  • item1
  • item2
  • 5 6

    清單

    1. 大點自動編號 (同一段落內)
      1. 小點
        1. 小小點
          1. ssd
            1. sddd
        2. 小小點
        3. sdscsd
      2. 小點
      3. sdcsdcsd
    2. 大點自動編號 (同一段落內)
    • 大點
      • 小點
        • 小小點
          • sss
        • 小小點
      • 小點
    • 大點

    可折疊區塊

    進階資訊

    Heading

    1. A numbered
    2. list
      • With some
      • Sub bullets

    註腳

    1 註腳內容 05793f ^a344fd

    vscode markdown-to-pdf

    ---
    puppeteer:
     landscape: false
     format: "A4"
     displayHeaderFooter: true
     margin: {
     top: "1.5cm", bottom: "1.5cm", left: "1.5cm", right: "1.5cm"}
     headerTemplate: "<div style='font-size: 9px; margin-left: 1cm;'>中台神學院</div> <div style='font-size: 9px; margin-left: auto;'> <b><span class='title'></span></b></div> <div style='font-size: 9px; margin-left: auto; margin-right: 1cm;'> <span class='date'></span></div>"
     footerTemplate: "<div style='font-size: 9px; margin-left:auto; margin-right:1cm;'> <span class='pageNumber'></span> / <span class='totalPages'></span></div>"
     printBackground: true
    ---
    

    GitLab Extension

    A footnote reference tag looks like this: 1

    This reference tag is a mix of letters and numbers. 4

    mermaid diagrams

    graph TB
    
      SubGraph1 --> SubGraph1Flow
      subgraph "SubGraph 1 Flow"
      SubGraph1Flow(SubNode 1)
      SubGraph1Flow -- Choice1 --> DoChoice1
      SubGraph1Flow -- Choice2 --> DoChoice2
      end
    
      subgraph "Main Graph"
      Node1[Node 1] --> Node2[Node 2]
      Node2 --> SubGraph1[Jump to SubGraph1]
      SubGraph1 --> FinalThing[Final Thing]
    end
    
    gantt
    title Adding GANTT diagram to mermaid
    
    section 掃羅
    膏抹 (1Sa 9): des1, 2014-01-06,2034-01-08
    Active task:des2, 2024-01-09, 2034-01-08
    Future task:des3, after des2, 100w
    Future task2:des4, after des3, 50w
    
    section 大衛
    膏抹 (1Sa 9): des1, 2014-01-06,2034-01-08
    Active task:des2, 2024-01-09, 2034-01-08
    Future task:des3, after des2, 100w
    Future task2:des4, after des3, 50w
    

    bottom

    ^88f4c1


    1. But right now I think they are just colored pieces of text ↩︎

    2. Should it work? I think yes1, unless it needs something proprietary to work3 ↩︎

    3. I've only seen this kind of feature work in PDFs created via Acrobat Reader. ↩︎

    4. This is another footnote. ↩︎