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

Add option to make use of GitHub's official markdown parsing #2

Open
KrauseFx opened this issue May 15, 2019 · 1 comment
Open

Add option to make use of GitHub's official markdown parsing #2

KrauseFx opened this issue May 15, 2019 · 1 comment

Comments

@KrauseFx
Copy link
Owner

@KrauseFx KrauseFx commented May 15, 2019

To make sure it's fully compatible, we could make simple web requests to the GitHub markdown API

This will generate just the HTML code, not the CSS necessary

@phseiff
Copy link

@phseiff phseiff commented Jul 26, 2020

In case you want to also use the GitHub CSS, you could get it from here. You will need to fill the HTML generated by GitHub's markdown API into a blueprint to get stuff like the border around the page, which isn't done by the GitHub markdown API itself.

I actually have a project which does exactly that, so you could take a look at how it does it if you want some inspiration. The src/prototype.html file and the src/github-css.css file in this repository should contain the HTML for the classical GitHub-README-border as well as the CSS required to style the HTML generated by the GitHub API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants