-
Notifications
You must be signed in to change notification settings - Fork 25
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
would be nice to have the ability to link to stylesheet #482
Comments
sure, that's what I had in mind with #63, actually ;) I'll address that gap. |
when the `--css=...` argument is used, the generated HTML document contains a `<link type="text/html" rel="stylesheet" href="...">" element with the given `--css` value. Fixes bytesparadise#482 Signed-off-by: Xavier Coulon <[email protected]>
when the `--css=...` argument is used, the generated HTML document contains a `<link type="text/html" rel="stylesheet" href="...">` element with the given `--css` value. Fixes bytesparadise#482 Signed-off-by: Xavier Coulon <[email protected]>
Yes that would do the trick for me. |
when the `--css=...` argument is used, the generated HTML document contains a `<link type="text/html" rel="stylesheet" href="...">` element with the given `--css` value. Fixes #482 Signed-off-by: Xavier Coulon <[email protected]>
@gdamore please let me know if the PR addressed your issue, otherwise feel free to open it again ;) |
I haven't tested it, but casual inspection makes me think it will do so. We're so close to having all the things I want from this package -- and then I can start throwing away the mess of shell scripts I have to preprocess docs, and post process output, and replace them with some very nice Go code that wraps around libasciidoc. I think the only really significant thing remaining from my part is support for syntax highlighting. (I'd love a pygments compatible one, but I'm happy to see any one that I can style accordingly.) |
Thanks for your feedback @gdamore! |
The generated document doesn't include any style sheet data at all. But my asciidoctor generated files do -- they either embed a whole style sheet, or link to it via ./asciidoctor.css -- they also in my case link to google font servers to pick up OpenSans.
Probably you don't want to include the stock style sheet, but it would be nice if we could specify either style sheet, or more "link" attributes to include in the meta section.
I can of course post-process the document and inject those myself, but it seems kind of dirty to do that.
The text was updated successfully, but these errors were encountered: