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

Add Markdown directly to a journal page #17

Closed
9 tasks done
andreoliwa opened this issue Mar 27, 2022 · 0 comments
Closed
9 tasks done

Add Markdown directly to a journal page #17

andreoliwa opened this issue Mar 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@andreoliwa
Copy link
Owner

andreoliwa commented Mar 27, 2022

Problem

As a user, I want to add converted Markdown directly to a journal page, in order to avoid copy/paste and manual editing.

Possible Solution

  • Add a journal command.
  • Receive Markdown data from stdin.
  • Or accept files as arguments (like Outline: accept multiple files in the command line #12).
    • won't do, not needed; I can use cat file1.txt file2.txt | lsd journal
  • Default is to add the markdown to the current date.
  • Add --date option to allow choosing a date.
  • If possible, accept flexible date formats like yesterday, Friday, Fri, March 27th, etc.
  • Default is to append the Markdown to the end of the journal date.
  • Add option --prepend (or something similar) to prepend to the beginning of the journal.
  • Try to convert to outline before inserting? This (kind of) depends on Outline command should be idempotent #11 being implemented first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant