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 a --raw flag to the show command #254

Merged
merged 1 commit into from
Jan 18, 2015
Merged

Add a --raw flag to the show command #254

merged 1 commit into from
Jan 18, 2015

Conversation

martijn
Copy link
Contributor

@martijn martijn commented Jan 10, 2015

This shows just the body of the note and allows the user to pipe the
output to another tool. Useful in combination with pandoc to create
LaTeX PDF files from notes. Example:

geeknote show "My note" --raw | pandoc -s - -o my_note.tex
xelatex my_note.tex

This shows just the body of the note and allows the user to pipe the
output to another tool. Useful in combination with pandoc to create
LaTeX files from notes.
@joaosa
Copy link

joaosa commented Jan 11, 2015

It does look like a handy idea +1

@uggrock
Copy link

uggrock commented Jan 11, 2015

+1

@martijn
Copy link
Contributor Author

martijn commented Jan 12, 2015

I realize now that it's not really 'raw' since it does the whole Markdown conversion of course, maybe it should be called --body-only or something instead?

@joaosa
Copy link

joaosa commented Jan 12, 2015

If that's the case then I'd say --body-only sounds fine.

vitalyrodnenko pushed a commit that referenced this pull request Jan 18, 2015
Add a --raw flag to the show command
@vitalyrodnenko vitalyrodnenko merged commit 3663605 into vitalyrodnenko:master Jan 18, 2015
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.

4 participants