macdown icon indicating copy to clipboard operation
macdown copied to clipboard

Command line options?

Open klsetzer opened this issue 9 years ago • 4 comments

I'd really like MacDown to support command line options. Specifically, I'd like to be able to enable or disable various rendering flags. I'd also like to be able to have a command-line selectable preview-only mode.

klsetzer avatar Mar 05 '15 04:03 klsetzer

enable or disable various rendering flags

This one I get, although I’m not exactly sure how a clean UI can be done. It’d be pretty tedious if the user needs to always manually turn on/off things.

have a command-line selectable preview-only mode

This one I don’t get. Could you provide an example of how you want the command line interface to be like?

uranusjr avatar Mar 05 '15 10:03 uranusjr

have a command-line selectable preview-only mode

This one I don’t get. Could you provide an example of how you want the command line interface to be like?

In some cases, for example, using Sublime to edit markdown and to build with MacDown, then a option for command-line will very useful.

loggerhead avatar Apr 09 '15 10:04 loggerhead

hi uranusjr, thanks for your precious work. it would be nice to have a command line option to open a file in preview-only mode (with editor pane already hidden). I often use macdown to open readme files from terminal to read the formatted document. Cheers

zakedy avatar Feb 04 '17 11:02 zakedy

This bug is pretty old... Still I would like to have a CLI mode to render documents to PDF, optionally specifying a style. Something like:

MacDown --pdf my.pdf --style mystyle

flaviotordini avatar Apr 11 '21 13:04 flaviotordini