geoffreygarrett
51786f92c6
Merge remote-tracking branch 'origin/feature/clipboard' into feature/clipboard
2022-07-03 13:36:55 +02:00
geoffreygarrett
2ded0099d8
feat(clipboard): adjusted for modified interface
2022-07-03 13:36:42 +02:00
geoffreygarrett
ce516f295a
feat: removed clipboard-polyfill
...
All major modern browsers support the clipboard API as of 2021
2022-07-03 13:35:29 +02:00
Geoffrey Garrett
37bd86d036
Update assets/styles/clipboard.scss
...
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-07-03 13:18:29 +02:00
Geoffrey Garrett
b5df8a8c96
Update assets/js/darkmode.js
...
My bad for forgetting to modify this.
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-07-03 13:10:50 +02:00
Geoffrey Garrett
48b8aacf07
Merge branch 'hugo' into feature/clipboard
2022-07-02 10:43:49 +02:00
Jacky Zhao
eda370334a
fix: image scaling for md-style links ( closes #155 )
2022-07-01 11:27:50 -07:00
Geoffrey Garrett
d3e20b8b94
Added optional rendering of code block titles ( #148 )
2022-07-01 11:03:52 -07:00
Jacky Zhao
8d7a7b712f
fix: non-SPA fn defs ( closes #154 )
2022-07-01 11:03:04 -07:00
geoffreygarrett
8502be88b9
feat: added "copy to clipboard" to code blocks
2022-06-30 15:41:04 +02:00
geoffreygarrett
635974c6fa
fix(config post): replaced tab with 4 spaces
2022-06-30 15:35:31 +02:00
geoffreygarrett
4719c3806a
Merge branch 'hugo' into feature/clipboard
2022-06-30 14:48:20 +02:00
Geoffrey Garrett
443bb3b709
style: fixed tab styling in config
2022-06-30 09:54:04 +02:00
Geoffrey Garrett
c6c03d55d2
feat(clipboard): initial code copy to clipboard implemented
...
- Issue persists with tables that have linenos in table format.
2022-06-30 09:40:04 +02:00
Geoffrey Garrett
496c2cd11f
Merge branch 'hugo' into hugo
2022-06-30 09:36:02 +02:00
Jacky Zhao
0896814959
docs: remove test image from hosting
2022-06-29 17:35:29 -07:00
Jacky Zhao
8b2fba895a
feat: image scaling ( closes #131 )
2022-06-29 17:34:05 -07:00
Jacky Zhao
e884f4927f
fix: anchor formatting ( closes #141 )
2022-06-29 17:17:53 -07:00
Geoffrey Garrett
4514b00d81
Merge remote-tracking branch 'origin/hugo' into hugo
2022-06-30 02:03:56 +02:00
Jacky Zhao
2b0482ae4c
docs: fix page weight
2022-06-29 17:03:41 -07:00
Geoffrey Garrett
e7fdcc6852
fix(code title): small fix for SPA
2022-06-30 02:03:33 +02:00
Jacky Zhao
8a100edeb8
docs: polish and update
2022-06-29 16:57:36 -07:00
Jacky Zhao
200c605142
feat: enable raw html by default ( fixes #143 )
2022-06-29 16:16:06 -07:00
Jacky Zhao
f2078ee621
fix: prefix images with base url for non-root quartz
2022-06-29 16:15:40 -07:00
Geoffrey Garrett
d91d5f98b2
Merge branch 'jackyzha0:hugo' into hugo
2022-06-30 00:59:34 +02:00
Geoffrey Garrett
cef9146371
style(syntax themes: head.html): modified templating for syntax theme
2022-06-30 00:40:20 +02:00
Geoffrey Garrett
ada0c74160
feat(syntax themes): support for independent syntax themes
...
Closes #149
2022-06-30 00:35:56 +02:00
Geoffrey Garrett
956d1c45f2
style(code titles): updated for independent syntax themes
2022-06-30 00:23:26 +02:00
Geoffrey Garrett
a3ddb1bde7
fix(code titles): fixed code titles with and without SPA
2022-06-29 22:39:01 +02:00
Geoffrey Garrett
8fdc927bab
fix(code titles): fixes overflow issue
2022-06-29 22:13:17 +02:00
Geoffrey Garrett
29fa0bea1d
fix(code block titles): fixed multiple titles added to a block
2022-06-29 17:54:19 +02:00
Jacky Zhao
916c51c19c
Merge pull request #150 from aidenybai/bump-million
2022-06-28 23:21:25 -07:00
Aiden Bai
67a7ba37e8
Bump million to 1.11.3
2022-06-28 21:43:28 -07:00
Geoffrey Garrett
6c096bf924
docs(code block titles): made docs concise
2022-06-29 06:02:32 +02:00
Geoffrey Garrett
e0567a592e
style(code block titles): changed colors slightly
2022-06-29 06:01:06 +02:00
Geoffrey Garrett
eba33521ad
docs(config): added code block title documentation
2022-06-28 22:14:07 +02:00
Geoffrey Garrett
dd37151e8b
style(code title): changed default color styling
2022-06-28 21:16:55 +02:00
Geoffrey Garrett
f16b31dae0
Merge remote-tracking branch 'origin/hugo' into hugo
2022-06-28 20:26:06 +02:00
Geoffrey Garrett
a312e6bb88
style: removed accidentally included comments
2022-06-28 20:24:52 +02:00
Geoffrey Garrett
7a13df5543
Merge branch 'jackyzha0:hugo' into hugo
2022-06-28 20:19:35 +02:00
Geoffrey Garrett
25084b82b0
docs(favicon): corrected code block title and added relevant linenostart
2022-06-28 20:17:12 +02:00
Geoffrey Garrett
2685fabd8f
feat(config example): added enableCodeBlockTitle key
2022-06-28 20:12:37 +02:00
Geoffrey Garrett
53c3f479c6
docs(code block titles): added titles for all configuration code blocks
2022-06-28 20:10:44 +02:00
Geoffrey Garrett
7fd830f838
fix(code title): corrected accidental omission of code-title.js
2022-06-28 20:07:42 +02:00
Geoffrey Garrett
d0902f382c
docs(code block titles): set enableCodeBlockTitle to true as default
2022-06-28 20:06:25 +02:00
Geoffrey Garrett
3e13cb2258
style(code title): reduced font size slightly
2022-06-28 20:03:24 +02:00
Geoffrey Garrett
32269c9b7a
docs(config.yaml): set code block linenos to false where unnecessary
2022-06-28 20:00:44 +02:00
Geoffrey Garrett
d982d4d91b
docs(config.yaml): fixed a typo
2022-06-28 19:57:40 +02:00
Geoffrey Garrett
715aff9533
feat(code block titles): adds ability to define code block titles for Chroma
...
If a user provides a title as an argument to a code block, it will be
added as a child `div.code-title` to `div.highlight`, inserted before
`div.chroma`.
- Included default styling (`code-title.scss`) adapted
from `syntax.scss`.
- Added this as a function rendered in the
`partials/head.html` inside the `render()` function, *if*
`enableCodeBlockTitle=true` in the `data/config.yaml`.
2022-06-28 19:56:20 +02:00
Jacky Zhao
72941965ab
Merge pull request #146 from geoffreygarrett/hugo
2022-06-27 16:27:57 -07:00