-
Notifications
You must be signed in to change notification settings - Fork 27
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
Rendered Markdown styling and choose what information to print #47
Comments
Are you satisfied with this as a solution? If so, please close the issue. |
It's sufficient for the header and footer yes, thank you. |
Markdown rendering is done by VS Code, not by the printing extension, and VS Code does support the injection of CSS. There is an example of how to do this in the section of the manual concerning KaTeX
Perhaps I should explicitly call out this information with its own section. You should also be able to embed CSS directly into your Markdown simply by embedding an HTML <style> block with CSS in it.
I'm a bit busy at the moment but I will give some thought on making it more convenient to add your own stylesheet references. Remember that if you use separate stylesheets then either they must be on some globally accessible URL like the KaTeX stylesheet or you must use a relative path and ensure the files remain in the same relative positions. This is pretty fragile so it would be safer to just embed. |
Yeah while relative paths are not the best, embedding css clutters up the content too much. |
I would like to be able to modify some, but not all, of the header/footer info. Specifically, I want to hide the date and bottom-left 'localhost' text, and include the full filepath (not just the filename) at the top. Is this possible? I can make a new issue if that would be better. |
@ryanwwest yes it would be better to open a new issue. Actually implementing this is problematic, but I understand why you would want it. After you create the issue I'll explain why it's harder than it looks and how I think I might go about it. |
@ryanwwest I just re-read your message and you may be able to achieve your goals which are not as difficult as full control of headers and footers. I'll expand when you open the issue. |
Thanks. See #163. |
Used version
VS Code Printing Free 0.7.12
VS Code version 1.38.1
I don't know who where and when markdown styling is applied, but would it be possible to have more control over the printed rendered markdown?
Here is an example of a rendered markdown print with Visual Studio 2019 and Markdown Editor extension
The same file with this plugin
The text was updated successfully, but these errors were encountered: