-
Notifications
You must be signed in to change notification settings - Fork 70
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
Improve CI interface #53
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
Heya, note there is already a CLI interface (accepts a file or starts in interactive mode): $ markdown-it
markdown-it-py [version 0.1.0] (interactive)
Type Ctrl-D to complete input, or Ctrl-C to exit.
>>> > **hallo** there!
...
<blockquote>
<p><strong>hallo</strong> there!</p>
</blockquote> Its not particularly well documented though, and it can't be configured, so indeed these could be improved. See: https://github.com/executablebooks/markdown-it-py/blob/master/markdown_it/cli/parse.py |
I should've looked more closely for the entry_point in setup.py.
|
|
|
Windows requires |
Is your feature request related to a problem? Please describe.
Use case: Render a snippet of markdown in a file on disk into HTML.
Describe the solution you'd like
A commandline interface to parse markdown and render HTML (and optionally configure markdown-it-py first)
Describe alternatives you've considered
I could write a script with an
argparse.ArgumentParser
and use that; but that might as well just be aconsole_scripts
entry_point
in markdown-it-py; in which case an actualargparse.ArgumentParser
is justifiied.Additional context
None
The text was updated successfully, but these errors were encountered: