Commit Graph

66 Commits

Author SHA1 Message Date
Cell 69d8e67c24 feat(code): add fullscreen functionality for code blocks (#707) 2026-03-03 16:15:01 +08:00
Cell 6196cd5edf feat(code): add download button for code blocks and related functionality (#706) 2026-03-02 17:34:57 +08:00
Cell 051f45a73c feat: update version shortcode with deprecated type 2025-12-20 20:29:41 +08:00
Cell 93478b47e1 refactor: code block wrapper (#665)
* feat: optimize code highlighting for diff language

* refactor: update codeblock configuration and enhance code wrapper functionality

* fix: extra blank lines would appear when copying lines containing code highlighting

* refactor: enhance code block wrapper functionality and add new styles (mac style)

* refactor: enhance code block normal mode

* feat: do noting for code block simple mode

* feat: add copy btn for code block modes mac and simple

* refactor: add code-related variables and update styles for code blocks and gist layout

* feat: update code copy button visibility on hover for larger screens

* feat: update code block mode attribute and remove mac wrapper

* feat!: code block parameters accurate to a single

Remove the `data-open` attribute and use `.open` instead.

* refactor: enhance initCopyCode method to accept optional button parameter

* feat: improve code/diagram copy button styles and transitions for better visibility

* fix: disable copy buttons for simple/mac mode code blocks when copyable set to false

* chore: rename normal partial to code-header

* feat: add preview and expand feature for code blocks (close #312)

* fix: adjust transition timing for code header and fade-out animation

* test: update code block test case

* docs: update comments for code highlight and markup configurations

* feat: adjust code header background color darkening for light and dark themes

* fix: hide aside and breadcrumb pseudo-elements on small screens

* perf: change the code copy button and code expand button to server-side rendering

* fix: the code expand button obscured the code content

* fix: update code background and header colors for improved visibility

* fix: ensure code copy button is only added for copyable code blocks

* feat(code block): add lineNosToggler and lineWrapToggler params and feature for code blocks

* refactor: code syntax highlighting styles

* fix: update background color for line numbers and ensure proper sticky effect

* feat(code block): add support for code file names in code blocks

* fix: code review for PR #665

* feat(i18n): add Japanese and Korean translations; update toggle options in multiple languages

* docs: update configurations and comments
2025-12-17 16:56:52 +08:00
Cell fa94e69877 feat: add JSON Viewer support and related configurations (#643)
* feat: add JSON Viewer support and related configurations

* feat: add JSON Viewer initialization and theme switching support
2025-10-14 15:03:45 +08:00
Cell 969d0cc090 style: eslint enable for toml files 2025-10-11 15:13:35 +08:00
Cell c21914dd49 Feat: add page param linkToVscode to show link to view the post in VSCode 2025-04-24 17:13:51 +08:00
Cell b77d209136 🌐 Feat: fill in missing translations
by Copilot
2024-11-28 12:53:59 +08:00
Cell decb259ee1 🌐 Feat: add search related translations 2024-11-28 11:29:52 +08:00
Cell fb80b8b3dc Feat: add Baidu, Umami, Plausible, Cloudflare and Splitbee analytics support
resolved #549
2024-11-22 17:45:23 +08:00
Cell f98ca2197a 🚧 WIP: modify translations for task lists 2024-11-01 17:29:56 +08:00
Cell 4df8fd023e 🚧 WIP: add translations task lists 2024-11-01 15:02:37 +08:00
Cell bd40c85586 🎉 Feat: support alert foldable title for blockquote compatible with Obsidian Callouts
refactor admonition shortcode: add todo type and aliases type
change min hugo version: 0.134.0
2024-10-08 15:12:01 +08:00
Cell 5dac03a90d 🌐 Feat: add translations for alerts 2024-08-29 22:30:06 +08:00
Cell 24873c5e99 🚸 Chore: update FixIt theme version detection in dev mode 2024-08-09 10:40:09 +08:00
Cell 72a77c2fc5 Perf(ignore): disable busuanzi in dev environment 2024-07-28 23:09:16 +08:00
Cell 6b65ca8946 🌐 Docs: update I18n transitions 2024-05-17 14:07:03 +08:00
Cell 3b89a4eaab Feat: refactor FixItDecryptor and add confirm btn
Resolved #437
2024-04-24 17:39:17 +08:00
Cell 34021a58a3 Feat: add options to make output readme.md and change options for baidu_urls.txt 2024-01-01 14:16:23 +08:00
Cell 8e3d880557 🌐 Feat: add translations for "archives" keyword (#396) 2023-12-29 16:04:25 +08:00
Cell da54fef151 Feat: add pin icon in home post list and add repost icon in section .etc. 2023-12-27 16:30:36 +08:00
Cell 9f7bce87a7 ♻️ Refactor: migrate params.gitRepo and params.page.edit to params.gitInfo
and add page params: `linkToSource`, `linkToEdit` and `linkToReport`
2023-12-21 16:24:17 +08:00
Cell 2cc276e5f5 🎉 Feat: add related content support 2023-12-20 10:48:22 +08:00
Cell 5d16e1ac0f Feat: add collection info at post meta 2023-12-06 21:00:27 +08:00
Cell c7a03ea847 🎉 Feat: add taxonomy collections 2023-12-06 11:26:08 +08:00
Cell a25331bca3 🐛 Fix: total word count error in section
(cherry picked from commit 8bb2a35dcc)
2023-10-10 15:09:53 +08:00
Cell 38043616ef 🔥 Feat: remove lunr search engine 2023-04-28 15:17:11 +08:00
Cell 60e9d6f0b9 📝 Docs: fix typo and update author config docs 2023-03-26 19:58:52 +08:00
Cell 8dceb3ea6e 📝 Docs: update theme documentation link 2023-02-19 16:50:55 +08:00
Cell 48dc34cf11 ♻️ Refactor(i18n): hierarchize translation fields for supported languages 2023-01-02 13:31:27 +08:00
Cell 8d6e5277f9 🎨 Style: format toml files in folder i18n 2022-12-27 14:25:54 +08:00
Jean-Emmanuel BAILLAT 0d1d45cdc5 Fix missing breakline 2022-11-22 08:18:03 +08:00
kapusch 6c17548d27 Add missing translations for French + enhancements 2022-11-22 08:18:03 +08:00
Cell ffbdc5ba98 Feat: add feature post reward support (#216) 2022-10-27 17:06:49 +08:00
Cell c149a60028 Feat: add noscript warning banner (#194) 2022-09-10 14:11:11 +08:00
Cell 624585267a Feat: add developer options 2022-07-17 15:03:23 +08:00
Cell 35d54b22cb Feat: add repost feature (#156) 2022-07-10 18:21:35 +08:00
Cell c855841130 Feat(fixit-decryptor): add encrypt again feature (#123) 2022-05-27 17:33:14 +08:00
Cell e7b9f7600f 🚧 Feat: hide raw markdown content and hide related buttons for encrypted pages (#123) 2022-05-25 23:50:35 +08:00
Cell e82a6549a6 Feat: add total word count feature in section and remove from footer (#124) 2022-05-20 11:30:19 +08:00
Cell 96d0fcccb4 Feat: add total word count support in footer (#124) 2022-04-29 00:02:38 +08:00
Cell bdc500b14c 🔧 Chore(i18n): add i18n support for console messages 2022-04-25 14:43:14 +08:00
Cell ff0f60646e 🔧 Chore(i18n): improve translations for supported languages (#119) 2022-04-21 17:50:25 +08:00
Dillon 9c1244490f i18n: update i18n string format (#371) 2020-05-18 16:10:24 +08:00
Dillon 0a9ec97450 feat(cookies): add Cookie consent banner (#355) 2020-05-13 21:19:39 +08:00
tomaja 87923f284c Added Serbian translation (#324) 2020-05-06 23:50:10 +08:00
Dillon 19c7da333d docs: update theme preview and translation (#262) 2020-04-26 23:00:29 +08:00
Dillon f14301c395 feat: improve configuration (#245)
* feat: improve configuration

* fix: fix partials/footer.html error
2020-04-21 22:55:06 +08:00
Dillon 8a0e61085c feat(code): add copy button for code (#239) 2020-04-18 20:54:54 +08:00
Dillon 90184ca3e7 feat(search): add local search (#231)
* feat(search): add local search

* docs: add docs for search
2020-04-15 15:46:50 +08:00