gh-markdown-preview icon indicating copy to clipboard operation
gh-markdown-preview copied to clipboard

Allow an option to render `gfm` markdown

Open knutwalker opened this issue 6 months ago • 0 comments

In order to render GitHub extensions like Alerts you need to set the mode option to gfm. Right now, there doesn't seem to be any way to trigger that: https://github.com/yusukebe/gh-markdown-preview/blob/e541afb6202b39f85ae1376649df88464e38c874/cmd/app.go#L47

Would it make sense to add a flag to switch to gfm, or maybe always set this mode in the API call?

knutwalker avatar Jan 05 '24 12:01 knutwalker