gh-markdown-preview
gh-markdown-preview copied to clipboard
GitHub CLI extension to preview Markdown looks like GitHub.
Sometimes you just want to render a markdown file directly to a HTML file. `grip` provides an option to do this: grip --export README.html For this case, no server is...
``` >gh markdown-preview test.md --: C:\Users\lenovo\AppData\Local\GitHub CLI\extensions\gh-markdown-preview\gh-markdown-preview: /usr/bin/env: bad interpreter: Permission denied ```
In most cases, there is no favicon.ico in our directory and it will be 404 not found. How about preparing the default favicon.ico and showing it as `/favicon.ico`. 
Alerts aren't rendered in localhost of the markdown file. So a quick backstory, I was doing my chemistry work and wanted to use **Alerts** as a means of writing questions...
In order to render GitHub extensions like [Alerts](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts) you need to set the [`mode` option to `gfm`](https://docs.github.com/en/rest/markdown/markdown?apiVersion=2022-11-28#render-a-markdown-document). 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...
There is needless `` tag in markdown preview when I copy it to my note or word, there will be an useless extra hyperlink Hoping to delete it. I don't...
https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/ Similar to #37
## official github script ```javascript function createNode(text: string): Element { const node = document.createElement('pre') node.style.width = '1px' node.style.height = '1px' node.style.position = 'fixed' node.style.top = '5px' node.textContent = text return...
### Token storage change in [latest release](https://github.com/cli/cli/releases/latest) of [gh](https://github.com/cli/cli) This is a message from the GitHub CLI team, maintainers of `gh`, writing to inform you that the most recent release...
Currently only the README.md in the root of the repo is rendered as markdown.