Commit Graph

27 Commits

Author SHA1 Message Date
geoffreygarrett
8502be88b9 feat: added "copy to clipboard" to code blocks 2022-06-30 15:41: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
a312e6bb88 style: removed accidentally included comments 2022-06-28 20:24:52 +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
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
DhammaCharts
52a185f73b change enableGlobalGraph to false 2022-06-06 16:49:01 +01:00
DhammaCharts
c88f31c364 change to object destructuring for drawGraph() arguments 2022-06-02 08:16:02 +01:00
DhammaCharts
e809896338 increase scale 2022-06-01 21:22:31 +01:00
DhammaCharts
5a1fbc9374 Improve graph display, options and ability to have a global graph on the home page, local graphs on subpage. 2022-06-01 13:49:27 +01:00
Aiden Bai
8673a7bc3d
Add option to toggle footer 2022-05-28 22:52:18 -07:00
Jacky Zhao
0293c12217 feat: recent posts section/partial 2022-05-23 22:25:13 -07:00
Jacky Zhao
364aee36fc fix: merge conf 2022-05-05 01:03:09 -04:00
Jacky Zhao
cea0f3eb74 feat: contextual backlinks (closes #106) 2022-05-05 00:58:50 -04:00
Aiden Bai
9d3bbd6076
Fix active node on graph 2022-05-03 08:53:18 -07:00
Jacky Zhao
24d08d580d cfg: make SPA optional 2022-05-03 10:43:22 -04:00
meleu
a287d11246 add a collapsible ToC 2022-04-03 22:12:55 -03:00
Jacky Zhao
4fd983277e fix: cjk support + demo page 2022-04-02 17:38:39 -07:00
Jacky Zhao
cc86136bcb feat: basic latex support 2022-04-02 17:00:14 -07:00
Jacky Zhao
fcd5d2807d feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao
e49a1ac9db made link preview optional 2022-01-03 13:22:04 -05:00
Jacky Zhao
4a3c4fdef5 popover implementation 2022-01-03 13:18:31 -05:00
Jacky Zhao
39592347cc add graph depth config 2021-12-27 13:06:58 -05:00
Jacky Zhao
48d01810c4 fix config setting, fix font size for h1 in article 2021-12-23 14:40:59 -08:00
jackyzha0
69e42886a6 flesh out docs 2021-07-18 16:40:53 -04:00
jackyzha0
6896cb007b proper backlink and graph display in footer 2021-07-18 13:02:53 -04:00
jackyzha0
ea69050587 add base pages 2021-07-18 11:54:00 -04:00
jackyzha0
c01138a81c add base structure 2021-07-18 09:35:42 -04:00