Skip to content
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

(feature): use org-capture templates #216

Merged
merged 13 commits into from
Mar 4, 2020
Merged

(feature): use org-capture templates #216

merged 13 commits into from
Mar 4, 2020

Conversation

jethrokuan
Copy link
Member

@jethrokuan jethrokuan commented Mar 2, 2020

Instead of implementing our own templating system, we abuse org-capture's templating system. We add 2 additional properties:

  1. :head: a starting template that goes at the beginning of the file.
  2. :file-name: a string that expands to the file id

It's really hacky, but it works:

roam

In addition, org-roam-capture works for org-protocol:

roam

Motivation for this change

#191

@jethrokuan jethrokuan merged commit b7a7741 into develop Mar 4, 2020
@jethrokuan jethrokuan deleted the feat/capture branch March 4, 2020 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant