George Cushen
bc7e541f61
fix(shortcode): allow for multiple child elements in Alerts
...
Previously, alerts were designed just for a single child consisting of
a paragraph.
Now supports styling of multiple children including lists.
Fix #881
2019-01-15 18:30:02 +00:00
George Cushen
0ff174bbf4
feat(shortcodes): add support for image gallery in page bundle
...
To use:
1. Create a gallery album folder in page bundle
2. Add images to album folder
3. Paste `{{< gallery album="<ALBUM FOLDER>" >}}` in your page content
Close #786
2018-11-03 23:27:03 +00:00
George Cushen
9bcecc7b25
shortcodes: Update figure and video to support files within page dir
...
To reference file in page folder, simply use
`{{< figure src="a.png" >}}`
To reference file from `static/img/` media library, set `library=1`
in shortcode. E.g. `{{< figure src="a.png" library=1 >}}`
See #708
2018-09-23 23:10:34 +01:00
George Cushen
6faf695727
Add slides feature
...
Example added to `exampleSite/content/slides/example-slides.md` and
linked from `exampleSite/content/talk/example-talk.md`.
Close #693
2018-09-16 16:39:30 +01:00
George Cushen
6ef19085d4
Refactor most absolute URLs to relative URLs
...
See #683
2018-09-15 13:58:29 +01:00
George Cushen
11a5d1bf50
gdocs shortcode: Support all doc types (Slides, Docs, Sheets, etc.)
...
- Shortcode syntax changed to: {{< gdocs src="https://..." >}}
- Use with Google Docs `embed` URL rather than `link` URL.
Close #544
2018-07-15 19:43:27 +01:00
George Cushen
74b0b6f508
shortcodes: Add list_tags and list_categories
...
To use:
`{{< list_tags >}}` to provide a list of linked tags.
`{{< list_categories >}}` to provide a list of linked categories.
2018-07-15 02:25:09 +01:00
George Cushen
7f25b7463e
shortcode: Add Google Docs
...
Enables easily embedding Google Slides.
To use, copy and paste the share link from Google Docs in the form:
`{{< gdocs "https://..." >}}`
2018-04-22 12:25:51 +01:00
George Cushen
e6b2f1d285
Add hl shortcode for highlighting key phrases
...
To use: `{{< hl >}}highlighted quote{{< /hl >}}`
2018-04-22 00:08:56 +01:00
George Cushen
09674dd538
figure shortcode: Fix caption style
...
See #328
2018-04-21 23:19:43 +01:00
George Cushen
f23526e55d
figure shortcode: Support i18n and unnumbered captions
...
- Figures are now unnumbered by default
- To number a figure, use the form:
- `{{< figure src="image.jpg" title="Caption" numbered="true" >}}`
- Add i18n translation for "Figure" in captions
- Update English and Chinese language packs
Close #328 and #513
2018-04-21 10:35:15 +01:00
George Cushen
66b71fa2f6
Add video shortcode and remove image shadow
2018-01-28 01:14:44 +00:00
George Cushen
72c793b179
Add gallery shortcode ( #398 )
2018-01-13 15:19:59 +00:00
George Cushen
f752b362f0
staticref shortcode: Fix formatting by removing whitespace ( Fix #295 )
2017-10-08 12:56:39 +01:00
George Cushen
143576bc99
staticref shortcode: Add "newtab" option to open link in new tab
2017-10-07 20:26:21 +01:00
George Cushen
a2b482dc10
Add staticref shortcode for linking files + update docs ( #236 )
2017-09-03 17:06:06 +01:00
George Cushen
06dc780e6c
Add shortcode for generating table of contents ( #258 )
2017-09-03 15:07:38 +01:00
George Cushen
b8b6c88f60
Add alert shortcode
...
Alerts can be used to add side content such as tips, notes, or warnings to articles.
2016-10-19 00:08:54 +01:00