這篇文章旨在作為快速參考與展示。要更多完整的資訊,請見 John Gruber 原本的規格與 Github 偏好的 Markdown(Github-flavored Markdown,簡寫為GFM)資訊頁。
如果你正在找 Markdown Here 的小抄(Cheatsheet),這裡也有一篇。你也可以看看更多 Markdown 的工具。
譯註:可以參考這份中文版文件,有更詳盡的 Markdown 語法說明;如果需要可以練習的線上編輯器,可以試試看HackMD。
| /// <summary> | |
| /// 再解析出:電話/非電話(即人名); | |
| /// </summary> | |
| public static IEnumerable<NameOrTel> CaptureNameOrTel(string loi_clause) | |
| { | |
| // 電話號碼 pattern | |
| string ptnTel = @"(\([HOM]\))?[0-9()+]+[0-9\-()*~# ]*[0-9]+(\-[HOM]|\([HOM]\)|\(主要\))?"; | |
| // 人名 pattern := 中文名稱與難字 | 英文名稱 | |
| string ptnName = @"((\p{IsCJKUnifiedIdeographs}|[\ue000-\ue3ff])+([a-zA-z\s]+[a-zA-z\s-]*)?|[a-zA-z]+[a-zA-z\s-]*)"; | |
| // 人名或電話 pattern |
| using UnityEngine; | |
| /// <summary> | |
| /// Resizes a UI element with a RectTransform to respect the safe areas of the current device. | |
| /// This is particularly useful on an iPhone X, where we have to avoid the notch and the screen | |
| /// corners. | |
| /// | |
| /// The easiest way to use it is to create a root Canvas object, attach this script to a game object called "SafeAreaContainer" | |
| /// that is the child of the root canvas, and then layout the UI elements within the SafeAreaContainer, which | |
| /// will adjust size appropriately for the current device./// </summary> |
| # link: https://sujingjhong.com/posts/how-to-deploy-hugo-automatically-with-github-actions/ | |
| # author: lisez <[email protected]> | |
| name: Auto publish to public site | |
| # 只有推送到 master 才自動化 | |
| on: | |
| push: | |
| branches: | |
| - master |
這篇文章旨在作為快速參考與展示。要更多完整的資訊,請見 John Gruber 原本的規格與 Github 偏好的 Markdown(Github-flavored Markdown,簡寫為GFM)資訊頁。
如果你正在找 Markdown Here 的小抄(Cheatsheet),這裡也有一篇。你也可以看看更多 Markdown 的工具。
譯註:可以參考這份中文版文件,有更詳盡的 Markdown 語法說明;如果需要可以練習的線上編輯器,可以試試看HackMD。