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

Command md for Markdown #93

Closed
yashha opened this issue Jan 12, 2019 · 1 comment · Fixed by #152
Closed

Command md for Markdown #93

yashha opened this issue Jan 12, 2019 · 1 comment · Fixed by #152
Labels
Feature New feature or enhancement

Comments

@yashha
Copy link
Contributor

yashha commented Jan 12, 2019

Option to generate markdown file using a html2markdown library

@danburzo danburzo changed the title Feature generate markdown Command md for Markdown Jul 25, 2020
@danburzo danburzo added the Feature New feature or enhancement label Jul 25, 2020
@danburzo
Copy link
Owner

Once this gets merged in, percollate html --output - will print the processed HTML to stdout:

This will allow the user to pipe the HTML into another tool, such as trimd, to process down to Markdown. Regardless of that, for better ergonomics, it would be good for Percollate to have its own md command.

Like in trimd, Markdown options can be namespaced to --md.<option>=<value>.

danburzo added a commit that referenced this issue Feb 19, 2023
* Add 'percollate md' command, fixes #93 
* Add markdown preferences with '--md.<option>=<value>' options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants