fixes working now
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "themes/zzo"]
|
||||||
|
path = themes/zzo
|
||||||
|
url = https://github.com/zzossig/hugo-theme-zzo.git
|
|
@ -0,0 +1,43 @@
|
||||||
|
baseURL = "http://example.org"
|
||||||
|
title = "Hugo Zzo Theme"
|
||||||
|
theme = "zzo"
|
||||||
|
|
||||||
|
defaultContentLanguage = "en"
|
||||||
|
defaultContentLanguageInSubdir = true
|
||||||
|
hasCJKLanguage = true
|
||||||
|
|
||||||
|
summaryLength = 70
|
||||||
|
buildFuture = true
|
||||||
|
|
||||||
|
copyright = "©{year}, All Rights Reserved"
|
||||||
|
timeout = 10000
|
||||||
|
enableEmoji = true
|
||||||
|
paginate = 13
|
||||||
|
rssLimit = 100
|
||||||
|
|
||||||
|
enableGitInfo = false
|
||||||
|
googleAnalytics = ""
|
||||||
|
|
||||||
|
[markup]
|
||||||
|
[markup.goldmark]
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
hardWraps = true
|
||||||
|
unsafe = true
|
||||||
|
xHTML = true
|
||||||
|
[markup.highlight]
|
||||||
|
codeFences = true
|
||||||
|
lineNos = true
|
||||||
|
lineNumbersInTable = true
|
||||||
|
noClasses = false
|
||||||
|
[markup.tableOfContents]
|
||||||
|
endLevel = 3
|
||||||
|
ordered = false
|
||||||
|
startLevel = 2
|
||||||
|
|
||||||
|
[outputs]
|
||||||
|
home = ["HTML", "RSS", "JSON"]
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
category = "categories"
|
||||||
|
tag = "tags"
|
||||||
|
series = "series"
|
|
@ -0,0 +1,43 @@
|
||||||
|
baseURL = "http://example.org"
|
||||||
|
title = "Hugo Zzo Theme"
|
||||||
|
theme = "zzo"
|
||||||
|
|
||||||
|
defaultContentLanguage = "en"
|
||||||
|
defaultContentLanguageInSubdir = true
|
||||||
|
hasCJKLanguage = true
|
||||||
|
|
||||||
|
summaryLength = 70
|
||||||
|
buildFuture = true
|
||||||
|
|
||||||
|
copyright = "©{year}, All Rights Reserved"
|
||||||
|
timeout = 10000
|
||||||
|
enableEmoji = true
|
||||||
|
paginate = 13
|
||||||
|
rssLimit = 100
|
||||||
|
|
||||||
|
enableGitInfo = false
|
||||||
|
googleAnalytics = ""
|
||||||
|
|
||||||
|
[markup]
|
||||||
|
[markup.goldmark]
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
hardWraps = true
|
||||||
|
unsafe = true
|
||||||
|
xHTML = true
|
||||||
|
[markup.highlight]
|
||||||
|
codeFences = true
|
||||||
|
lineNos = true
|
||||||
|
lineNumbersInTable = true
|
||||||
|
noClasses = false
|
||||||
|
[markup.tableOfContents]
|
||||||
|
endLevel = 3
|
||||||
|
ordered = false
|
||||||
|
startLevel = 2
|
||||||
|
|
||||||
|
[outputs]
|
||||||
|
home = ["HTML", "RSS", "JSON"]
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
category = "categories"
|
||||||
|
tag = "tags"
|
||||||
|
series = "series"
|
|
@ -0,0 +1,9 @@
|
||||||
|
[en]
|
||||||
|
title = "Hugo Zzo Theme"
|
||||||
|
languageName = "English"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[ko]
|
||||||
|
title = "Hugo Zzo Theme"
|
||||||
|
languageName = "한국어"
|
||||||
|
weight = 2
|
|
@ -0,0 +1,39 @@
|
||||||
|
[[main]]
|
||||||
|
identifier = "about"
|
||||||
|
name = "about"
|
||||||
|
url = "about"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "archive"
|
||||||
|
name = "archive"
|
||||||
|
url = "archive"
|
||||||
|
weight = 2
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "pt"
|
||||||
|
name = "pt"
|
||||||
|
url = "pt"
|
||||||
|
weight = 3
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "gallery"
|
||||||
|
name = "gallery"
|
||||||
|
url = "gallery"
|
||||||
|
weight = 4
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
parent = "gallery"
|
||||||
|
name = "cartoon"
|
||||||
|
url = "gallery/cartoon"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
parent = "gallery"
|
||||||
|
name = "photo"
|
||||||
|
url = "gallery/photo"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "posts"
|
||||||
|
name = "posts"
|
||||||
|
url = "posts"
|
||||||
|
weight = 5
|
|
@ -0,0 +1,28 @@
|
||||||
|
[[main]]
|
||||||
|
identifier = "about"
|
||||||
|
name = "어바웃"
|
||||||
|
url = "about"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "archive"
|
||||||
|
name = "아카이브"
|
||||||
|
url = "archive"
|
||||||
|
weight = 2
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "gallery"
|
||||||
|
name = "갤러리"
|
||||||
|
url = "gallery"
|
||||||
|
weight = 3
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
parent = "gallery"
|
||||||
|
name = "fiverr"
|
||||||
|
url = "gallery/mine"
|
||||||
|
|
||||||
|
[[main]]
|
||||||
|
identifier = "posts"
|
||||||
|
name = "포스트"
|
||||||
|
url = "posts"
|
||||||
|
weight = 4
|
|
@ -0,0 +1,135 @@
|
||||||
|
logoText = "Zzo theme"
|
||||||
|
description = "The Zzo theme for Hugo example site."
|
||||||
|
custom_css = []
|
||||||
|
custom_js = []
|
||||||
|
|
||||||
|
themeOptions = ["dark", "light", "hacker", "solarized", "custom"]
|
||||||
|
notAllowedTypesInHome = ["contact", "talks", "about"]
|
||||||
|
|
||||||
|
# header
|
||||||
|
homeHeaderType = "text" # text, img, slide
|
||||||
|
|
||||||
|
# body
|
||||||
|
enableBreadcrumb = true
|
||||||
|
enablePhotoSwipe = true
|
||||||
|
enableSearch = true
|
||||||
|
enableSearchHighlight = true
|
||||||
|
enableGoToTop = true
|
||||||
|
enableWhoami = true
|
||||||
|
summaryShape = "classic" # card, classic, compact
|
||||||
|
archiveGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
|
||||||
|
archivePaginate = 13
|
||||||
|
paginateWindow = 1
|
||||||
|
talksPaginate = 5
|
||||||
|
talksGroupByDate = "2006"
|
||||||
|
|
||||||
|
# whoami
|
||||||
|
myname = "zzossig"
|
||||||
|
email = "zzossig@gmail.com"
|
||||||
|
whoami = "Web Developer"
|
||||||
|
useGravatar = false
|
||||||
|
location = "Seoul, Korea"
|
||||||
|
organization = "Hugo"
|
||||||
|
link = "https://zzossig.io/ko"
|
||||||
|
|
||||||
|
# sidebar
|
||||||
|
enableBio = true
|
||||||
|
enableSidebar = true
|
||||||
|
enableSidebarTags = true
|
||||||
|
enableSidebarSeries = true
|
||||||
|
enableSidebarCategories = true
|
||||||
|
enableToc = true
|
||||||
|
hideToc = false
|
||||||
|
enableTocSwitch = true
|
||||||
|
itemsPerCategory = 5
|
||||||
|
|
||||||
|
# footer
|
||||||
|
showPoweredBy = true
|
||||||
|
showFeedLinks = true
|
||||||
|
showSocialLinks = true
|
||||||
|
enableLangChange = true
|
||||||
|
enableThemeChange = true
|
||||||
|
|
||||||
|
# service
|
||||||
|
baiduAnalytics = ""
|
||||||
|
enableBusuanzi = false
|
||||||
|
busuanziSiteUV = true
|
||||||
|
busuanziSitePV = true
|
||||||
|
busuanziPagePV = true
|
||||||
|
|
||||||
|
# comment
|
||||||
|
enableComment = true
|
||||||
|
disqus_shortname = ""
|
||||||
|
commento = false
|
||||||
|
|
||||||
|
[gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment
|
||||||
|
owner = "" # Your GitHub ID
|
||||||
|
repo = "" # The repo to store comments
|
||||||
|
clientId = "" # Your client ID
|
||||||
|
clientSecret = "" # Your client secret
|
||||||
|
|
||||||
|
[utterances] # https://utteranc.es/
|
||||||
|
owner = "" # Your GitHub ID
|
||||||
|
repo = "" # The repo to store comments
|
||||||
|
|
||||||
|
[gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
|
||||||
|
owner = "" # Your GitHub ID
|
||||||
|
repo = "" # The repo to store comments
|
||||||
|
clientId = "" # Your client ID
|
||||||
|
clientSecret = "" # Your client secret
|
||||||
|
|
||||||
|
# Valine.
|
||||||
|
# You can get your appid and appkey from https://leancloud.cn
|
||||||
|
# more info please open https://valine.js.org
|
||||||
|
[valine]
|
||||||
|
enable = false
|
||||||
|
appId = '你的appId'
|
||||||
|
appKey = '你的appKey'
|
||||||
|
notify = false # mail notifier , https://github.com/xCss/Valine/wiki
|
||||||
|
verify = false # Verification code
|
||||||
|
avatar = 'mm'
|
||||||
|
placeholder = '说点什么吧...'
|
||||||
|
visitor = false
|
||||||
|
|
||||||
|
[changyan]
|
||||||
|
changyanAppid = "" # Changyan app id # 畅言
|
||||||
|
changyanAppkey = "" # Changyan app key
|
||||||
|
|
||||||
|
[livere]
|
||||||
|
livereUID = "" # LiveRe UID # 来必力
|
||||||
|
|
||||||
|
# Isso: https://posativ.org/isso/
|
||||||
|
[isso]
|
||||||
|
enable = false
|
||||||
|
scriptSrc = "" # "https://isso.example.com/js/embed.min.js"
|
||||||
|
dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'"
|
||||||
|
|
||||||
|
[socialOptions]
|
||||||
|
email = "mailto:your@email.com"
|
||||||
|
facebook = "http://example.org/"
|
||||||
|
twitter = "http://example.org/"
|
||||||
|
github = "https://github.com/zzossig/hugo-theme-zzo"
|
||||||
|
stack-overflow = ""
|
||||||
|
instagram = ""
|
||||||
|
google-plus = ""
|
||||||
|
youtube = ""
|
||||||
|
medium = ""
|
||||||
|
tumblr = ""
|
||||||
|
linkedin = ""
|
||||||
|
pinterest = ""
|
||||||
|
stack-exchange = ""
|
||||||
|
telegram = ""
|
||||||
|
steam = ""
|
||||||
|
weibo = ""
|
||||||
|
douban = ""
|
||||||
|
csdn = ""
|
||||||
|
zhihu = ""
|
||||||
|
gitlab = ""
|
||||||
|
mastodon = ""
|
||||||
|
|
||||||
|
[donationOptions]
|
||||||
|
enable = false
|
||||||
|
alipay = ""
|
||||||
|
wechat = ""
|
||||||
|
paypal = ""
|
||||||
|
patreon = ""
|
|
@ -0,0 +1,80 @@
|
||||||
|
---
|
||||||
|
header:
|
||||||
|
- type: text
|
||||||
|
height: 200
|
||||||
|
paddingX: 50
|
||||||
|
paddingY: 0
|
||||||
|
align: center
|
||||||
|
title:
|
||||||
|
- HUGO
|
||||||
|
subtitle:
|
||||||
|
- The world’s fastest framework for building websites
|
||||||
|
titleFontSize: 44
|
||||||
|
subtitleFontSize: 16
|
||||||
|
spaceBetweenTitleSubtitle: 20
|
||||||
|
|
||||||
|
- type: img
|
||||||
|
imageSrc: images/header/background.jpg
|
||||||
|
imageSize: cover
|
||||||
|
imageRepeat: no-repeat
|
||||||
|
imagePosition: center
|
||||||
|
height: 235
|
||||||
|
paddingX: 50
|
||||||
|
paddingY: 0
|
||||||
|
align: center
|
||||||
|
title:
|
||||||
|
-
|
||||||
|
subtitle:
|
||||||
|
-
|
||||||
|
titleFontSize: 44
|
||||||
|
subtitleFontSize: 16
|
||||||
|
spaceBetweenTitleSubtitle: 20
|
||||||
|
|
||||||
|
- type: slide
|
||||||
|
height: 235
|
||||||
|
slide:
|
||||||
|
- paddingX: 50
|
||||||
|
paddingY: 0
|
||||||
|
align: left
|
||||||
|
imageSrc: images/header/background.jpg
|
||||||
|
imageSize: cover
|
||||||
|
imageRepeat: no-repeat
|
||||||
|
imagePosition: center
|
||||||
|
title:
|
||||||
|
- header title1
|
||||||
|
subtitle:
|
||||||
|
- header subtitle1
|
||||||
|
titleFontSize: 44
|
||||||
|
subtitleFontSize: 16
|
||||||
|
spaceBetweenTitleSubtitle: 20
|
||||||
|
|
||||||
|
- paddingX: 50
|
||||||
|
paddingY: 0
|
||||||
|
align: center
|
||||||
|
imageSrc: images/header/background.jpg
|
||||||
|
imageSize: cover
|
||||||
|
imageRepeat: no-repeat
|
||||||
|
imagePosition: center
|
||||||
|
title:
|
||||||
|
- header title2
|
||||||
|
subtitle:
|
||||||
|
- header subtitle2
|
||||||
|
titleFontSize: 44
|
||||||
|
subtitleFontSize: 16
|
||||||
|
spaceBetweenTitleSubtitle: 20
|
||||||
|
|
||||||
|
- paddingX: 50
|
||||||
|
paddingY: 0
|
||||||
|
align: right
|
||||||
|
imageSrc: images/header/background.jpg
|
||||||
|
imageSize: cover
|
||||||
|
imageRepeat: no-repeat
|
||||||
|
imagePosition: center
|
||||||
|
title:
|
||||||
|
- header title3
|
||||||
|
subtitle:
|
||||||
|
- header subtitle3
|
||||||
|
titleFontSize: 44
|
||||||
|
subtitleFontSize: 16
|
||||||
|
spaceBetweenTitleSubtitle: 20
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "About"
|
||||||
|
date: 2019-10-09T11:44:14+09:00
|
||||||
|
type: "about"
|
||||||
|
description: About Page
|
||||||
|
---
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
+++
|
||||||
|
title = "About"
|
||||||
|
description = "Hugo, the world’s fastest framework for building websites"
|
||||||
|
type = "about"
|
||||||
|
date = "2019-02-28"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
|
||||||
|
|
||||||
|
Hugo makes use of a variety of open source projects including:
|
||||||
|
|
||||||
|
* https://github.com/russross/blackfriday
|
||||||
|
* https://github.com/alecthomas/chroma
|
||||||
|
* https://github.com/muesli/smartcrop
|
||||||
|
* https://github.com/spf13/cobra
|
||||||
|
* https://github.com/spf13/viper
|
||||||
|
|
||||||
|
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.
|
||||||
|
|
||||||
|
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
|
||||||
|
|
||||||
|
Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
|
||||||
|
|
||||||
|
Learn more and contribute on [GitHub](https://github.com/gohugoio).
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: "Archive"
|
||||||
|
date: 2019-10-19T11:44:14+09:00
|
||||||
|
type: "archive"
|
||||||
|
description: Archive Page
|
||||||
|
---
|
||||||
|
|
||||||
|
archive page
|
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: "Archive"
|
||||||
|
date: 2019-10-19T11:44:14+09:00
|
||||||
|
type: "archive"
|
||||||
|
description: Archive Page
|
||||||
|
---
|
||||||
|
|
||||||
|
archive page
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "Cartoon"
|
||||||
|
date: 2018-10-11T10:20:16+09:00
|
||||||
|
type: "gallery"
|
||||||
|
description: "cartoon gallery"
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Cartoon"
|
||||||
|
date: 2018-10-11T10:20:16+09:00
|
||||||
|
type: "gallery"
|
||||||
|
mode: "at-once" # at-once is a default value
|
||||||
|
description: "cartoon gallery"
|
||||||
|
---
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: "Photo"
|
||||||
|
date: 2018-10-12T10:20:16+09:00
|
||||||
|
description: Photo Gallery
|
||||||
|
type: "gallery"
|
||||||
|
mode: "one-by-one"
|
||||||
|
description: "포토 갤러리"
|
||||||
|
images:
|
||||||
|
---
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: "Photo"
|
||||||
|
date: 2018-10-12T10:20:16+09:00
|
||||||
|
description: Photo Gallery
|
||||||
|
type: "gallery"
|
||||||
|
mode: "one-by-one"
|
||||||
|
description: "photo gallery"
|
||||||
|
images:
|
||||||
|
- image: albatross.png
|
||||||
|
caption: albatross caption
|
||||||
|
- image: teddy.png
|
||||||
|
caption: teddy caption
|
||||||
|
---
|
|
@ -0,0 +1,7 @@
|
||||||
|
+++
|
||||||
|
aliases = ["posts","articles","blog","showcase","docs"]
|
||||||
|
title = "Posts"
|
||||||
|
author = "Hugo Authors"
|
||||||
|
tags = ["index"]
|
||||||
|
description = "Post page"
|
||||||
|
+++
|
|
@ -0,0 +1,7 @@
|
||||||
|
+++
|
||||||
|
aliases = ["posts","articles","blog","showcase","docs"]
|
||||||
|
title = "Posts"
|
||||||
|
author = "Hugo Authors"
|
||||||
|
tags = ["index"]
|
||||||
|
description = "Post page"
|
||||||
|
+++
|
|
@ -0,0 +1,51 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Emoji Support"
|
||||||
|
date = 2019-12-16T12:00:06+09:00
|
||||||
|
description = "Guide to emoji usage in Hugo"
|
||||||
|
tags = [
|
||||||
|
"emoji",
|
||||||
|
"gamoji",
|
||||||
|
"namoji",
|
||||||
|
"bamoji",
|
||||||
|
"amoji"
|
||||||
|
]
|
||||||
|
+++
|
||||||
|
|
||||||
|
Emoji can be enabled in a Hugo project in a number of ways.
|
||||||
|
<!--more-->
|
||||||
|
The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
|
||||||
|
|
||||||
|
To enable emoji globally, set `enableEmoji` to `true` in your site’s [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
|
||||||
|
|
||||||
|
|
||||||
|
<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.
|
||||||
|
|
||||||
|
{{< highlight html >}}
|
||||||
|
.emoji {
|
||||||
|
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
|
||||||
|
}
|
||||||
|
{{< /highlight >}}
|
||||||
|
|
||||||
|
{{< css.inline >}}
|
||||||
|
<style>
|
||||||
|
.emojify {
|
||||||
|
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
|
||||||
|
font-size: 2rem;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
@media screen and (max-width:650px) {
|
||||||
|
.nowrap {
|
||||||
|
display: block;
|
||||||
|
margin: 25px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{{< /css.inline >}}
|
|
@ -0,0 +1,148 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Markdown Syntax Guide"
|
||||||
|
date = 2019-12-20T12:00:06+09:00
|
||||||
|
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
|
||||||
|
tags = [
|
||||||
|
"markdown",
|
||||||
|
"css",
|
||||||
|
"html",
|
||||||
|
"themes",
|
||||||
|
]
|
||||||
|
categories = [
|
||||||
|
"themes",
|
||||||
|
"syntax",
|
||||||
|
]
|
||||||
|
series = ["Themes Guide"]
|
||||||
|
aliases = ["migrate-from-jekyl"]
|
||||||
|
featured_image = "feature1/markdown.png"
|
||||||
|
+++
|
||||||
|
|
||||||
|
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
## Headings
|
||||||
|
|
||||||
|
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
|
||||||
|
|
||||||
|
# H1
|
||||||
|
## H2
|
||||||
|
### H3
|
||||||
|
#### H4
|
||||||
|
##### H5
|
||||||
|
###### H6
|
||||||
|
|
||||||
|
## Paragraph
|
||||||
|
|
||||||
|
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
|
||||||
|
|
||||||
|
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
|
||||||
|
|
||||||
|
## Blockquotes
|
||||||
|
|
||||||
|
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
|
||||||
|
|
||||||
|
#### Blockquote without attribution
|
||||||
|
|
||||||
|
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||||
|
> **Note** that you can use *Markdown syntax* within a blockquote.
|
||||||
|
|
||||||
|
#### Blockquote with attribution
|
||||||
|
|
||||||
|
> Don't communicate by sharing memory, share memory by communicating.</p>
|
||||||
|
> — <cite>Rob Pike[^1]</cite>
|
||||||
|
|
||||||
|
|
||||||
|
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
|
||||||
|
|
||||||
|
## Tables
|
||||||
|
|
||||||
|
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||||
|
|
||||||
|
Name | Age
|
||||||
|
--------|------
|
||||||
|
Bob | 27
|
||||||
|
Alice | 23
|
||||||
|
|
||||||
|
#### Inline Markdown within tables
|
||||||
|
|
||||||
|
| Inline | Markdown | In | Table |
|
||||||
|
| ---------- | --------- | ----------------- | ---------- |
|
||||||
|
| *italics* | **bold** | ~~strikethrough~~ | `code` |
|
||||||
|
|
||||||
|
## Code Blocks
|
||||||
|
|
||||||
|
#### Code block with backticks
|
||||||
|
|
||||||
|
```
|
||||||
|
html
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
#### Code block indented with four spaces
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
#### Code block with Hugo's internal highlight shortcode
|
||||||
|
{{< highlight html >}}
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Example HTML5 Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Test</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
{{< /highlight >}}
|
||||||
|
|
||||||
|
## List Types
|
||||||
|
|
||||||
|
#### Ordered List
|
||||||
|
|
||||||
|
1. First item
|
||||||
|
2. Second item
|
||||||
|
3. Third item
|
||||||
|
|
||||||
|
#### Unordered List
|
||||||
|
|
||||||
|
* List item
|
||||||
|
* Another item
|
||||||
|
* And another item
|
||||||
|
|
||||||
|
#### Nested list
|
||||||
|
|
||||||
|
* Item
|
||||||
|
1. First Sub-item
|
||||||
|
2. Second Sub-item
|
||||||
|
|
||||||
|
## Other Elements — abbr, sub, sup, kbd, mark
|
||||||
|
|
||||||
|
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.
|
||||||
|
|
||||||
|
H<sub>2</sub>O
|
||||||
|
|
||||||
|
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||||
|
|
||||||
|
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.
|
||||||
|
|
||||||
|
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
---
|
||||||
|
author: Hugo Authors
|
||||||
|
title: Math Typesetting
|
||||||
|
date: 2019-12-17T12:00:06+09:00
|
||||||
|
description: A brief guide to setup KaTeX
|
||||||
|
libraries:
|
||||||
|
- katex
|
||||||
|
---
|
||||||
|
|
||||||
|
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
In this example we will be using [KaTeX](https://katex.org/)
|
||||||
|
|
||||||
|
- Create a partial under `/layouts/partials/math.html`
|
||||||
|
- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally.
|
||||||
|
- Include the partial in your templates like so:
|
||||||
|
|
||||||
|
```
|
||||||
|
{{ if or .Params.math .Site.Params.math }}
|
||||||
|
{{ partial "math.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
```
|
||||||
|
- To enable KaTex globally set the parameter `math` to `true` in a project's configuration
|
||||||
|
- To enable KaTex on a per page basis include the parameter `math: true` in content files.
|
||||||
|
|
||||||
|
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
|
||||||
|
|
||||||
|
### Examples
|
||||||
|
|
||||||
|
Inline math: $$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$
|
||||||
|
|
||||||
|
Block math:
|
||||||
|
|
||||||
|
$$
|
||||||
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
|
$$
|
|
@ -0,0 +1,58 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Placeholder Text"
|
||||||
|
date = 2019-03-09T12:00:06+09:00
|
||||||
|
description = "Lorem Ipsum Dolor Si Amet"
|
||||||
|
tags = [
|
||||||
|
"markdown",
|
||||||
|
"text",
|
||||||
|
]
|
||||||
|
+++
|
||||||
|
|
||||||
|
Lorem est tota propiore conpellat pectoribus de
|
||||||
|
pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice
|
||||||
|
subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
|
||||||
|
caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis
|
||||||
|
lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
|
||||||
|
|
||||||
|
1. Exierant elisi ambit vivere dedere
|
||||||
|
2. Duce pollice
|
||||||
|
3. Eris modo
|
||||||
|
4. Spargitque ferrea quos palude
|
||||||
|
|
||||||
|
Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus
|
||||||
|
silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria
|
||||||
|
tractus malis.
|
||||||
|
|
||||||
|
1. Comas hunc haec pietate fetum procerum dixit
|
||||||
|
2. Post torum vates letum Tiresia
|
||||||
|
3. Flumen querellas
|
||||||
|
4. Arcanaque montibus omnes
|
||||||
|
5. Quidem et
|
||||||
|
|
||||||
|
# Vagus elidunt
|
||||||
|
|
||||||
|
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="373" width="496"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg>
|
||||||
|
|
||||||
|
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
||||||
|
|
||||||
|
## Mane refeci capiebant unda mulcebat
|
||||||
|
|
||||||
|
Victa caducifer, malo vulnere contra
|
||||||
|
dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere
|
||||||
|
furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
|
||||||
|
|
||||||
|
Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli
|
||||||
|
Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare
|
||||||
|
Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert
|
||||||
|
ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae
|
||||||
|
vulnus haerentia iuste et exercebat, sui et.
|
||||||
|
|
||||||
|
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem
|
||||||
|
Propoetides **parte**.
|
||||||
|
|
||||||
|
{{< css.inline >}}
|
||||||
|
<style>
|
||||||
|
.canon { background: white; width: 100%; height: auto;}
|
||||||
|
</style>
|
||||||
|
{{< /css.inline >}}
|
|
@ -0,0 +1,43 @@
|
||||||
|
+++
|
||||||
|
author = "Hugo Authors"
|
||||||
|
title = "Rich Content"
|
||||||
|
date = 2019-12-19T12:00:06+09:00
|
||||||
|
description = "A brief description of Hugo Shortcodes"
|
||||||
|
tags = [
|
||||||
|
"shortcodes",
|
||||||
|
"privacy",
|
||||||
|
]
|
||||||
|
featured_image = "feature2/content.png"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
|
||||||
|
<!--more-->
|
||||||
|
---
|
||||||
|
|
||||||
|
## Instagram Simple Shortcode
|
||||||
|
|
||||||
|
{{< instagram_simple BGvuInzyFAe hidecaption >}}
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## YouTube Privacy Enhanced Shortcode
|
||||||
|
|
||||||
|
{{< youtube ZJthWmvUzzc >}}
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Twitter Simple Shortcode
|
||||||
|
|
||||||
|
{{< twitter_simple 1085870671291310081 >}}
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Vimeo Simple Shortcode
|
||||||
|
|
||||||
|
{{< vimeo_simple 48912912 >}}
|
|
@ -0,0 +1,304 @@
|
||||||
|
---
|
||||||
|
title: "Syntax highlighting"
|
||||||
|
date: 2017-10-11T10:33:41+09:00
|
||||||
|
description: "Syntax highlighting test"
|
||||||
|
tags:
|
||||||
|
- hugo
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- hugo
|
||||||
|
---
|
||||||
|
|
||||||
|
Dolore in consectetur irure qui laborum. Adipisicing cillum ad laboris dolor. Quis consectetur ullamco esse ad mollit anim sint nostrud esse. Irure voluptate ex fugiat voluptate ea fugiat laboris.
|
||||||
|
|
||||||
|
> This is a blockqute.
|
||||||
|
|
||||||
|
* * *
|
||||||
|
line
|
||||||
|
* * *
|
||||||
|
line
|
||||||
|
|
||||||
|
# Code Syntax Highlighting
|
||||||
|
|
||||||
|
Verify the following code blocks render as code blocks and highlight properly.
|
||||||
|
|
||||||
|
### Diff
|
||||||
|
|
||||||
|
``` diff
|
||||||
|
*** /path/to/original ''timestamp''
|
||||||
|
--- /path/to/new ''timestamp''
|
||||||
|
***************
|
||||||
|
*** 1 ****
|
||||||
|
! This is a line.
|
||||||
|
--- 1 ---
|
||||||
|
! This is a replacement line.
|
||||||
|
It is important to spell
|
||||||
|
-removed line
|
||||||
|
+new line
|
||||||
|
```
|
||||||
|
|
||||||
|
### Makefile
|
||||||
|
|
||||||
|
``` makefile
|
||||||
|
CC=gcc
|
||||||
|
CFLAGS=-I.
|
||||||
|
|
||||||
|
hellomake: hellomake.o hellofunc.o
|
||||||
|
$(CC) -o hellomake hellomake.o hellofunc.o -I.
|
||||||
|
```
|
||||||
|
|
||||||
|
### JSON
|
||||||
|
|
||||||
|
``` json
|
||||||
|
{"employees":[
|
||||||
|
{"firstName":"John", "lastName":"Doe"},
|
||||||
|
]}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Markdown
|
||||||
|
|
||||||
|
``` markdown
|
||||||
|
**bold**
|
||||||
|
*italics*
|
||||||
|
[link](www.example.com)
|
||||||
|
```
|
||||||
|
|
||||||
|
### JavaScript
|
||||||
|
|
||||||
|
``` javascript
|
||||||
|
document.write('Hello, world!');
|
||||||
|
```
|
||||||
|
|
||||||
|
### CSS
|
||||||
|
|
||||||
|
``` css
|
||||||
|
body {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Objective C
|
||||||
|
|
||||||
|
``` objectivec
|
||||||
|
#import <stdio.h>
|
||||||
|
|
||||||
|
int main (void)
|
||||||
|
{
|
||||||
|
printf ("Hello world!\n");
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Python
|
||||||
|
|
||||||
|
``` python
|
||||||
|
print "Hello, world!"
|
||||||
|
```
|
||||||
|
|
||||||
|
### XML
|
||||||
|
|
||||||
|
``` xml
|
||||||
|
<employees>
|
||||||
|
<employee>
|
||||||
|
<firstName>John</firstName> <lastName>Doe</lastName>
|
||||||
|
</employee>
|
||||||
|
</employees>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Perl
|
||||||
|
|
||||||
|
``` perl
|
||||||
|
print "Hello, World!\n";
|
||||||
|
```
|
||||||
|
|
||||||
|
### Bash
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
echo "Hello World"
|
||||||
|
```
|
||||||
|
|
||||||
|
### PHP
|
||||||
|
|
||||||
|
``` php
|
||||||
|
<?php echo '<p>Hello World</p>'; ?>
|
||||||
|
```
|
||||||
|
|
||||||
|
### CoffeeScript
|
||||||
|
|
||||||
|
``` coffeescript
|
||||||
|
console.log(“Hello world!”);
|
||||||
|
```
|
||||||
|
|
||||||
|
### C#
|
||||||
|
|
||||||
|
``` cs
|
||||||
|
using System;
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Hello, world!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### C++
|
||||||
|
|
||||||
|
``` cpp
|
||||||
|
#include <iostream.h>
|
||||||
|
|
||||||
|
main()
|
||||||
|
{
|
||||||
|
cout << "Hello World!";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### SQL
|
||||||
|
|
||||||
|
``` sql
|
||||||
|
SELECT column_name,column_name
|
||||||
|
FROM table_name;
|
||||||
|
```
|
||||||
|
|
||||||
|
### Go
|
||||||
|
|
||||||
|
``` go
|
||||||
|
package main
|
||||||
|
import "fmt"
|
||||||
|
func main() {
|
||||||
|
fmt.Println("Hello, 世界")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Ruby
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
puts "Hello, world!"
|
||||||
|
```
|
||||||
|
|
||||||
|
### Java
|
||||||
|
|
||||||
|
```java
|
||||||
|
import javax.swing.JFrame; //Importing class JFrame
|
||||||
|
import javax.swing.JLabel; //Importing class JLabel
|
||||||
|
public class HelloWorld {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
JFrame frame = new JFrame(); //Creating frame
|
||||||
|
frame.setTitle("Hi!"); //Setting title frame
|
||||||
|
frame.add(new JLabel("Hello, world!"));//Adding text to frame
|
||||||
|
frame.pack(); //Setting size to smallest
|
||||||
|
frame.setLocationRelativeTo(null); //Centering frame
|
||||||
|
frame.setVisible(true); //Showing frame
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Latex Equation
|
||||||
|
|
||||||
|
```latex
|
||||||
|
\frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x).
|
||||||
|
```
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
import {x, y} as p from 'point';
|
||||||
|
const ANSWER = 42;
|
||||||
|
|
||||||
|
class Car extends Vehicle {
|
||||||
|
constructor(speed, cost) {
|
||||||
|
super(speed);
|
||||||
|
|
||||||
|
var c = Symbol('cost');
|
||||||
|
this[c] = cost;
|
||||||
|
|
||||||
|
this.intro = `This is a car runs at
|
||||||
|
${speed}.`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (let num of [1, 2, 3]) {
|
||||||
|
console.log(num + 0b111110111);
|
||||||
|
}
|
||||||
|
|
||||||
|
function $initHighlight(block, flags) {
|
||||||
|
try {
|
||||||
|
if (block.className.search(/\bno\-highlight\b/) != -1)
|
||||||
|
return processBlock(block.function, true, 0x0F) + ' class=""';
|
||||||
|
} catch (e) {
|
||||||
|
/* handle exception */
|
||||||
|
var e4x =
|
||||||
|
<div>Example
|
||||||
|
<p>1234</p></div>;
|
||||||
|
}
|
||||||
|
for (var i = 0 / 2; i < classes.length; i++) {
|
||||||
|
// "0 / 2" should not be parsed as regexp
|
||||||
|
if (checkCondition(classes[i]) === undefined)
|
||||||
|
return /\d+[\s/]/g;
|
||||||
|
}
|
||||||
|
console.log(Array.every(classes, Boolean));
|
||||||
|
}
|
||||||
|
|
||||||
|
export $initHighlight;
|
||||||
|
```
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Hello world</title>
|
||||||
|
<link href='http://fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
|
||||||
|
<link rel="stylesheet" href="index.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.1/less.min.js"></script>
|
||||||
|
<script src="vendor/prism.js"></script>
|
||||||
|
<script src="examples.bundle.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
|
||||||
|
```css
|
||||||
|
/*********************************************************
|
||||||
|
* General
|
||||||
|
*/
|
||||||
|
pre[class*="language-"],
|
||||||
|
code {
|
||||||
|
color: #5c6e74;
|
||||||
|
font-size: 13px;
|
||||||
|
text-shadow: none;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
direction: ltr;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
tab-size: 4;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
pre[class*="language-"]::selection,
|
||||||
|
code::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
pre[class*="language-"],
|
||||||
|
code {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
background: #f8f5ec;
|
||||||
|
}
|
||||||
|
:not(pre) > code {
|
||||||
|
padding: .1em .3em;
|
||||||
|
border-radius: .3em;
|
||||||
|
color: #db4c69;
|
||||||
|
background: #f9f2f4;
|
||||||
|
}
|
||||||
|
```
|
|
@ -0,0 +1,51 @@
|
||||||
|
---
|
||||||
|
title: "Chart support"
|
||||||
|
date: 2019-11-18T12:00:06+09:00
|
||||||
|
description: "Simple yet flexible JavaScript charting for designers & developers"
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- diagram
|
||||||
|
libraries:
|
||||||
|
- chart
|
||||||
|
featured_image: "feature1/graph.png"
|
||||||
|
---
|
||||||
|
|
||||||
|
```chart
|
||||||
|
{
|
||||||
|
"type": "bar",
|
||||||
|
"data":
|
||||||
|
{
|
||||||
|
"labels": ["One", "Two", "Three", "Four", "Five", "Six"],
|
||||||
|
"datasets": [{
|
||||||
|
"label": "# of Votes",
|
||||||
|
"data": [12, 19, 3, 5, 3, 8]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```chart
|
||||||
|
{
|
||||||
|
"type": "line",
|
||||||
|
"data": {
|
||||||
|
"labels": ["One", "Two", "Three", "Four", "Five", "Six"],
|
||||||
|
"datasets": [
|
||||||
|
{
|
||||||
|
"label": "# of Votes",
|
||||||
|
"data": [12, 19, 3, 5, 2, 3],
|
||||||
|
"backgroundColor":"transparent",
|
||||||
|
"borderColor":"orange"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Some other set",
|
||||||
|
"data": [15, 8, 13, 5, 5, 9],
|
||||||
|
"backgroundColor":"transparent",
|
||||||
|
"borderColor":"#44ccff"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
|
@ -0,0 +1,33 @@
|
||||||
|
---
|
||||||
|
title: "Flowchart support"
|
||||||
|
date: 2019-11-14T12:00:06+09:00
|
||||||
|
description: "flowchart.js is a flowchart DSL and SVG render that runs in the browser and terminal.
|
||||||
|
Nodes and connections are defined in separately so that nodes can be reused and connections can be quickly changed."
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- diagram
|
||||||
|
libraries:
|
||||||
|
- flowchartjs
|
||||||
|
featured_image: "feature1/flowchart.png"
|
||||||
|
---
|
||||||
|
|
||||||
|
```flowchart
|
||||||
|
st=>start: Start|past:>http://www.google.com[blank]
|
||||||
|
e=>end: End|future:>http://www.google.com
|
||||||
|
op1=>operation: My Operation|past
|
||||||
|
op2=>operation: Stuff|current
|
||||||
|
sub1=>subroutine: My Subroutine|invalid
|
||||||
|
cond=>condition: Yes
|
||||||
|
or No?|approved:>http://www.google.com
|
||||||
|
c2=>condition: Good idea|rejected
|
||||||
|
io=>inputoutput: catch something...|future
|
||||||
|
|
||||||
|
st->op1(right)->cond
|
||||||
|
cond(yes, right)->c2
|
||||||
|
cond(no)->sub1(left)->op1
|
||||||
|
c2(yes)->io->e
|
||||||
|
c2(no)->op2->e
|
||||||
|
```
|
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
title: "JS Sequence Diagram support"
|
||||||
|
date: 2019-11-18T12:00:06+09:00
|
||||||
|
description: "Generates UML sequence diagrams from simple text"
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- diagram
|
||||||
|
libraries:
|
||||||
|
- msc
|
||||||
|
featured_image: "feature2/transfer.png"
|
||||||
|
---
|
||||||
|
|
||||||
|
```msc
|
||||||
|
Alice->Bob: Hello Bob, how are you?
|
||||||
|
Note right of Bob: Bob thinks
|
||||||
|
Bob-->Alice: I am good thanks!
|
||||||
|
```
|
||||||
|
|
||||||
|
```msc
|
||||||
|
Title: Here is a title
|
||||||
|
A->B: Normal line
|
||||||
|
B-->C: Dashed line
|
||||||
|
C->>D: Open arrow
|
||||||
|
D-->>A: Dashed open arrow
|
||||||
|
```
|
|
@ -0,0 +1,51 @@
|
||||||
|
---
|
||||||
|
title: "Katex support"
|
||||||
|
date: 2019-11-15T12:00:06+09:00
|
||||||
|
description: "KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web."
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- math
|
||||||
|
libraries:
|
||||||
|
- katex
|
||||||
|
featured_image: "feature2/mathbook.png"
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
The following
|
||||||
|
|
||||||
|
$$ \int_{a}^{b} x^2 dx $$
|
||||||
|
|
||||||
|
Is an integral
|
||||||
|
|
||||||
|
$$
|
||||||
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
|
$$
|
||||||
|
|
||||||
|
Enable Katex in the config file by setting the `katex` param to `true`. This will import the necessary Katex CSS/JS.
|
||||||
|
|
||||||
|
See the online reference of [supported TeX functions](https://katex.org/docs/supported.html).
|
||||||
|
|
||||||
|
**Note:** For inline math to render correctly, your content file extension must be `.mmark`. See the [official mmark site](https://mmark.nl/).
|
||||||
|
|
||||||
|
```
|
||||||
|
Inline math: $$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$
|
||||||
|
```
|
||||||
|
|
||||||
|
Inline math: $$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$
|
||||||
|
|
||||||
|
```
|
||||||
|
Block math:
|
||||||
|
|
||||||
|
$$
|
||||||
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
|
$$
|
||||||
|
```
|
||||||
|
|
||||||
|
Block math:
|
||||||
|
|
||||||
|
$$
|
||||||
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
|
||||||
|
$$
|
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
title: "MathJax support"
|
||||||
|
date: 2019-11-16T12:00:06+09:00
|
||||||
|
description: "A JavaScript display engine for mathematics that works in all browsers.No more setup for readers. It just works."
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- math
|
||||||
|
libraries:
|
||||||
|
- mathjax
|
||||||
|
featured_image: "feature1/infinity.png"
|
||||||
|
---
|
||||||
|
|
||||||
|
When \\(a \ne 0\\), there are two solutions to \\(\(ax^2 + bx + c = 0\)\\) and they are
|
||||||
|
\\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\\]
|
|
@ -0,0 +1,107 @@
|
||||||
|
---
|
||||||
|
title: "Mermaid support"
|
||||||
|
date: 2019-11-17T12:00:06+09:00
|
||||||
|
description: "Generate diagrams, charts, graphs or flows from markdown-like text via javascript."
|
||||||
|
tags:
|
||||||
|
- diagram
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- diagram
|
||||||
|
libraries:
|
||||||
|
- mermaid
|
||||||
|
featured_image: "feature2/workflow.png"
|
||||||
|
---
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
graph TD;
|
||||||
|
A-->B;
|
||||||
|
A-->C;
|
||||||
|
B-->D;
|
||||||
|
C-->D;
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
graph TD;
|
||||||
|
A-->B;
|
||||||
|
A-->C;
|
||||||
|
B-->D;
|
||||||
|
C-->D;
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
graph TD;
|
||||||
|
A-->B;
|
||||||
|
A-->C;
|
||||||
|
B-->D;
|
||||||
|
C-->D;
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
sequenceDiagram
|
||||||
|
participant Alice
|
||||||
|
participant Bob
|
||||||
|
Alice->John: Hello John, how are you?
|
||||||
|
loop Healthcheck
|
||||||
|
John->John: Fight against hypochondria
|
||||||
|
end
|
||||||
|
Note right of John: Rational thoughts <br/>prevail...
|
||||||
|
John-->Alice: Great!
|
||||||
|
John->Bob: How about you?
|
||||||
|
Bob-->John: Jolly good!
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
graph TD
|
||||||
|
A[Hard] -->|Text| B(Round)
|
||||||
|
B --> C{Decision}
|
||||||
|
C -->|One| D[Result 1]
|
||||||
|
C -->|Two| E[Result 2]
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
gantt
|
||||||
|
section Section
|
||||||
|
Completed :done, des1, 2014-01-06,2014-01-08
|
||||||
|
Active :active, des2, 2014-01-07, 3d
|
||||||
|
Parallel 1 : des3, after des1, 1d
|
||||||
|
Parallel 2 : des4, after des1, 1d
|
||||||
|
Parallel 3 : des5, after des3, 1d
|
||||||
|
Parallel 4 : des6, after des4, 1d
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
classDiagram
|
||||||
|
Class01 <|-- AveryLongClass : Cool
|
||||||
|
<<interface>> Class01
|
||||||
|
Class09 --> C2 : Where am i?
|
||||||
|
Class09 --* C3
|
||||||
|
Class09 --|> Class07
|
||||||
|
Class07 : equals()
|
||||||
|
Class07 : Object[] elementData
|
||||||
|
Class01 : size()
|
||||||
|
Class01 : int chimp
|
||||||
|
Class01 : int gorilla
|
||||||
|
class Class10 {
|
||||||
|
<<service>>
|
||||||
|
int id
|
||||||
|
size()
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
stateDiagram
|
||||||
|
[*] --> Still
|
||||||
|
Still --> [*]
|
||||||
|
Still --> Moving
|
||||||
|
Moving --> Still
|
||||||
|
Moving --> Crash
|
||||||
|
Crash --> [*]
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
pie
|
||||||
|
"Dogs" : 386
|
||||||
|
"Cats" : 85
|
||||||
|
"Rats" : 15
|
||||||
|
```
|
|
@ -0,0 +1,45 @@
|
||||||
|
---
|
||||||
|
title: "Viz support"
|
||||||
|
date: 2019-11-18T21:00:06+09:00
|
||||||
|
description: "A hack to put Graphviz on the web."
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- diagram
|
||||||
|
libraries:
|
||||||
|
- viz
|
||||||
|
featured_image: "feature2/graph.png"
|
||||||
|
---
|
||||||
|
|
||||||
|
```viz-dot
|
||||||
|
digraph G {
|
||||||
|
|
||||||
|
subgraph cluster_0 {
|
||||||
|
style=filled;
|
||||||
|
color=lightgrey;
|
||||||
|
node [style=filled,color=white];
|
||||||
|
a0 -> a1 -> a2 -> a3;
|
||||||
|
label = "process #1";
|
||||||
|
}
|
||||||
|
|
||||||
|
subgraph cluster_1 {
|
||||||
|
node [style=filled];
|
||||||
|
b0 -> b1 -> b2 -> b3;
|
||||||
|
label = "process #2";
|
||||||
|
color=blue
|
||||||
|
}
|
||||||
|
start -> a0;
|
||||||
|
start -> b0;
|
||||||
|
a1 -> b3;
|
||||||
|
b2 -> a3;
|
||||||
|
a3 -> a0;
|
||||||
|
a3 -> end;
|
||||||
|
b3 -> end;
|
||||||
|
|
||||||
|
start [shape=Mdiamond];
|
||||||
|
end [shape=Msquare];
|
||||||
|
}
|
||||||
|
|
||||||
|
```
|
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
title: "Wavedrom support"
|
||||||
|
date: 2019-11-18T18:00:06+09:00
|
||||||
|
description: "WaveDrom is a Free and Open Source online digital timing diagram (waveform) rendering engine that uses javascript, HTML5 and SVG to convert a WaveJSON input text description into SVG vector graphics."
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
- diagram
|
||||||
|
libraries:
|
||||||
|
- wavedrom
|
||||||
|
featured_image: "feature1/wave.png"
|
||||||
|
---
|
||||||
|
|
||||||
|
```wave
|
||||||
|
{
|
||||||
|
"signal": [ {"name": "CLK", "wave": "p.....|..."},
|
||||||
|
{"name":"DAT", "wave":"x.345x|=.x", "data":["A","B","C","D"]},
|
||||||
|
{"name": "REQ", "wave": "0.1..0|1.0"},
|
||||||
|
{},
|
||||||
|
{"name": "ACK", "wave": "1.....|01."}
|
||||||
|
]}
|
||||||
|
```
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: "Presentations"
|
||||||
|
description: "Presentation list with reveal.js"
|
||||||
|
---
|
|
@ -0,0 +1,88 @@
|
||||||
|
---
|
||||||
|
title: "Fourth"
|
||||||
|
date: 2019-10-30T20:48:10+09:00
|
||||||
|
description: "My fourth presentation"
|
||||||
|
type: pt
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
-
|
||||||
|
featured_image: "feature1/golang.png"
|
||||||
|
plugins:
|
||||||
|
- highlight
|
||||||
|
- zoom
|
||||||
|
- notes
|
||||||
|
- math
|
||||||
|
highlightTheme: monokai
|
||||||
|
revealTheme: bagie
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
|
reveal:
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
# Hugo
|
||||||
|
## The world’s fastest framework for building websites
|
||||||
|
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
# Reveal.js
|
||||||
|
## A framework for easily creating beautiful presentations using HTML.
|
||||||
|
- [Check out the live demo](https://revealjs.com/#/)
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
You can easily create presentation documents using Markdown.
|
||||||
|
- fragment:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
# here
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
#### you
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
#### go
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
# POINT OF VIEW
|
||||||
|
|
||||||
|
Press *ESC* to enter the slide overview.
|
||||||
|
|
||||||
|
Hold down the alt key (ctrl in Linux) and click on any element to zoom towards it using zoom.js. click again to zoom back out.
|
||||||
|
|
||||||
|
(NOTE\: Use ctrl + click in Linux)
|
||||||
|
- fragment:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
## FRAGMENTS
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
Hit the next arrow...
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
... to step through ...
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
.. a
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
.. a fragmented
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
.. a fragmented slide.
|
||||||
|
---
|
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
title: "First"
|
||||||
|
date: 2019-10-30T19:45:20+09:00
|
||||||
|
description: "My first presentation"
|
||||||
|
type: pt
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
-
|
||||||
|
featured_image: "feature2/owl.png"
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
|
reveal:
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
test 1
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
test 2
|
||||||
|
---
|
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
title: "Second"
|
||||||
|
date: 2019-10-30T20:45:24+09:00
|
||||||
|
description: "My second presentation"
|
||||||
|
type: pt
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
-
|
||||||
|
featured_image: "feature1/reindeer.png"
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
|
reveal:
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
test 1
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
test 2
|
||||||
|
---
|
|
@ -0,0 +1,76 @@
|
||||||
|
---
|
||||||
|
title: "Third"
|
||||||
|
date: 2019-10-30T20:46:30+09:00
|
||||||
|
description: "My third presentation"
|
||||||
|
type: pt
|
||||||
|
tags:
|
||||||
|
-
|
||||||
|
series:
|
||||||
|
-
|
||||||
|
categories:
|
||||||
|
-
|
||||||
|
featured_image: "feature2/albatross.png"
|
||||||
|
plugins:
|
||||||
|
- highlight
|
||||||
|
- zoom
|
||||||
|
- math
|
||||||
|
highlightTheme: monokai
|
||||||
|
revealBackgroundColor: "" # #fff or rgba() or hsl()
|
||||||
|
revealBackgroundImage: "" # /images/myImage.png <= static folder path
|
||||||
|
revealBackgroundPosition: "" # left top, left center, left bottom, right top, right center ...
|
||||||
|
revealBackgroundRepeat: "" # repeat, repeat-x, repeat-y, no-repeat, inherit
|
||||||
|
revealBackgroundOpacity: "" # 0~1
|
||||||
|
revealBackgroundVideo: "" # /videos/myVideo.mp4 <= static folder path, A single video source, or a comma separated list of video sources.
|
||||||
|
revealBackgroundVideoLoop: false # true, false
|
||||||
|
revealBackgroundVideoMuted: false # true, false
|
||||||
|
revealBackgroundSize: "" # cover, contain, ...
|
||||||
|
revealTheme: league
|
||||||
|
reveal:
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
## Syntax highlighting
|
||||||
|
```go
|
||||||
|
// If an unknown or empty style is provided, AP style is what you get.
|
||||||
|
func GetTitleFunc(style string) func(s string) string {
|
||||||
|
switch strings.ToLower(style) {
|
||||||
|
case "go":
|
||||||
|
return strings.Title
|
||||||
|
case "chicago":
|
||||||
|
return transform.NewTitleConverter(transform.ChicagoStyle)
|
||||||
|
default:
|
||||||
|
return transform.NewTitleConverter(transform.APStyle)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
## Mathjax 1
|
||||||
|
\\[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
|
||||||
|
\mathbf{i} & \mathbf{j} & \mathbf{k} \\
|
||||||
|
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\
|
||||||
|
\frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0
|
||||||
|
\end{vmatrix} \\]
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
## Mathjax 2
|
||||||
|
\\[\begin{aligned}
|
||||||
|
\dot{x} & = \sigma(y-x) \\
|
||||||
|
\dot{y} & = \rho x - y - xz \\
|
||||||
|
\dot{z} & = -\beta z + xy
|
||||||
|
\end{aligned} \\]
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
## Mathjax 3
|
||||||
|
\\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \\]
|
||||||
|
- main:
|
||||||
|
- sub:
|
||||||
|
- |
|
||||||
|
## Mathjax 4
|
||||||
|
\\[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} =
|
||||||
|
1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}}
|
||||||
|
{1+\frac{e^{-8\pi}} {1+\ldots} } } } \\]
|
||||||
|
---
|
|
@ -0,0 +1 @@
|
||||||
|
{"Target":"css/main.min.css","MediaType":"text/css","Data":{}}
|
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
|
@ -1,2 +0,0 @@
|
||||||
SIL Open Font License (OFL)
|
|
||||||
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
|
|
|
@ -1,45 +0,0 @@
|
||||||
SIL Open Font License
|
|
||||||
|
|
||||||
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
|
|
||||||
|
|
||||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
||||||
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
|
||||||
|
|
||||||
—————————————————————————————-
|
|
||||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
||||||
—————————————————————————————-
|
|
||||||
|
|
||||||
PREAMBLE
|
|
||||||
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
|
|
||||||
|
|
||||||
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
|
|
||||||
|
|
||||||
DEFINITIONS
|
|
||||||
“Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
|
|
||||||
|
|
||||||
“Reserved Font Name” refers to any names specified as such after the copyright statement(s).
|
|
||||||
|
|
||||||
“Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s).
|
|
||||||
|
|
||||||
“Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
|
|
||||||
|
|
||||||
“Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
|
|
||||||
|
|
||||||
PERMISSION & CONDITIONS
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
|
|
||||||
|
|
||||||
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
|
|
||||||
|
|
||||||
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
|
|
||||||
|
|
||||||
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
|
|
||||||
|
|
||||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
|
|
||||||
|
|
||||||
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
|
|
||||||
|
|
||||||
TERMINATION
|
|
||||||
This license becomes null and void if any of the above conditions are not met.
|
|
||||||
|
|
||||||
DISCLAIMER
|
|
||||||
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
After Width: | Height: | Size: 101 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 103 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 168 KiB |
After Width: | Height: | Size: 102 KiB |
After Width: | Height: | Size: 105 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 7.7 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 547 B |
|
@ -1 +0,0 @@
|
||||||
<svg width="264" height="88" viewBox="0 0 264 88" xmlns="http://www.w3.org/2000/svg"><title>default-skin 2</title><g fill="none" fill-rule="evenodd"><g><path d="M67.002 59.5v3.768c-6.307.84-9.184 5.75-10.002 9.732 2.22-2.83 5.564-5.098 10.002-5.098V71.5L73 65.585 67.002 59.5z" id="Shape" fill="#fff"/><g fill="#fff"><path d="M13 29v-5h2v3h3v2h-5zM13 15h5v2h-3v3h-2v-5zM31 15v5h-2v-3h-3v-2h5zM31 29h-5v-2h3v-3h2v5z" id="Shape"/></g><g fill="#fff"><path d="M62 24v5h-2v-3h-3v-2h5zM62 20h-5v-2h3v-3h2v5zM70 20v-5h2v3h3v2h-5zM70 24h5v2h-3v3h-2v-5z"/></g><path d="M20.586 66l-5.656-5.656 1.414-1.414L22 64.586l5.656-5.656 1.414 1.414L23.414 66l5.656 5.656-1.414 1.414L22 67.414l-5.656 5.656-1.414-1.414L20.586 66z" fill="#fff"/><path d="M111.785 65.03L110 63.5l3-3.5h-10v-2h10l-3-3.5 1.785-1.468L117 59l-5.215 6.03z" fill="#fff"/><path d="M152.215 65.03L154 63.5l-3-3.5h10v-2h-10l3-3.5-1.785-1.468L147 59l5.215 6.03z" fill="#fff"/><g><path id="Rectangle-11" fill="#fff" d="M160.957 28.543l-3.25-3.25-1.413 1.414 3.25 3.25z"/><path d="M152.5 27c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5-5.5 2.462-5.5 5.5 2.462 5.5 5.5 5.5z" id="Oval-1" stroke="#fff" stroke-width="1.5"/><path fill="#fff" d="M150 21h5v1h-5z"/></g><g><path d="M116.957 28.543l-1.414 1.414-3.25-3.25 1.414-1.414 3.25 3.25z" fill="#fff"/><path d="M108.5 27c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5-5.5 2.462-5.5 5.5 2.462 5.5 5.5 5.5z" stroke="#fff" stroke-width="1.5"/><path fill="#fff" d="M106 21h5v1h-5z"/><path fill="#fff" d="M109.043 19.008l-.085 5-1-.017.085-5z"/></g></g></g></svg>
|
|
Before Width: | Height: | Size: 1.5 KiB |