10000 Feature request : Using code blocks as fields · Issue #81 · eyeinsky/org-anki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature request : Using code blocks as fields #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ATizK opened this issue Sep 16, 2023 · 2 comments
Open

Feature request : Using code blocks as fields #81

ATizK opened this issue Sep 16, 2023 · 2 comments
Labels
feature New feature or request more info needed Need more info from the issue reporter

Comments

@ATizK
Copy link
ATizK commented Sep 16, 2023

Hi, First of all thanks for the great plugin ! I wonder whether it is possible to add the following scheme for creating cards : given a code block in org, use its title as front and the content as back, so something like

#+TITLE: front
#+ANKI_DECK: deck
#+begin_src org

back
  
#+end_src

In my case, it would be useful to avoid creating too many low-level headings (for maths definitions / theorems), and make some of my notes more suitable for export to pdf for example, or for babel-tangle.

I don't expect it to be easily doable, if at all, but in case I am wrong, I guess that would be a useful feature for some people. Thanks again !

@eyeinsky
Copy link
Owner

Hi @ATizK, it doesn't look too hard to implement, lets discuss the details! :)

How would you use it, do you sync one-by-one with org-anki-sync-entry or all with org-anky-sync-all/org-anki-update-all?

@eyeinsky eyeinsky added feature New feature or request more info needed Need more info from the issue reporter labels Sep 21, 2023
@ATizK
Copy link
Author
ATizK commented Sep 22, 2023

Hi @eyeinsky, thanks for the answer ! I generally only use org-anki-sync-entry.

I guess it may be better to create a new command to avoid conflict with the other method, for example if one puts headers inside a org block code (not that I would personally need to do that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request more info needed Need more info from the issue reporter
Projects
None yet
Development

No branches or pull requests

2 participants
0