Comments (4)
org-fc has two hooks that are run before and after the review session, org-fc-before-review-hook
and org-fc-after-review-hook
.
In the before-review-hook
, you could save the old font size and set a new larger one, then use the after-review-hook
to reset it.
from org-fc.
Great! I'll look into those hooks. Thanks! (And sorry that I fired of issues without RTFC first).
from org-fc.
Don't worry about not having read the code, that shoudn't be neccessary for a feature like this (that's what the hook system is for).
Looks like I wrote a bit of documentation for it at https://www.leonrische.me/fc/customizing_org-fc.html but it doesn't really show how to use the hooks.
Let me know if you come up with an implementation, then I can add it to the page as an example.
from org-fc.
I'm using doom emacs and have the following to handle font size during review:
(use-package! org-fc
...
:config
...
(defun cashweaver/org-fc--increase-font-size()
(doom/increase-font-size 2))
(add-hook! 'org-fc-before-setup-hook
#'cashweaver/org-fc--increase-font-size)
(add-hook! 'org-fc-after-review-hook
#'doom/reset-font-size)
from org-fc.
Related Issues (20)
- [Feature request] Visualize future review distribution HOT 1
- [Bug] Review shows a wider-than-expected view HOT 1
- [Feature request] Skip position during review HOT 2
- Merge develop with main HOT 8
- Error when starting review: before first heading HOT 1
- spaced repetition writing HOT 1
- Using latex with curly braces results in improper cloze deletion cards HOT 2
- Text input cloze item HOT 3
- Old card are getting deleted somehow? HOT 5
- Quick question regarding normal card format HOT 4
- Arithmetic overflow error with inline latex HOT 13
- Timer to automatically flip cards. HOT 4
- Personal contexts stopped working HOT 6
- In org-fc-awk--find busybox grep does not support --null flag
- Setting a position for an org-fc-audio card does not work HOT 2
- No cards found HOT 4
- [Feature request] Formalize/Make-explicit the data structures used throughout org-fc HOT 3
- [Feature request] Allow cloze context per-card customization HOT 1
- [Feature request] Persist org-fc-review-new-limit state across Emacs reload
- [Feature request] Per-context new card limits
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-fc.