Comments (8)
Thanks for the compliment 😄
Markdown-pdf applies your user styles, so you can just edit your user styles and the changes should show up in the output pdf!
from markdown-pdf.
@travs Unfortunately markdown-pdf seems to completely ignore everything style-related for me. Only thing used is background color in code blocks.
This is how markdown-preview displays it:
And this is the resulting PDF file:
As you see not only the styles are missing (these never worked for me), but also bold font style gets ignored (see top left, this happens since one of the last updates).
In addition the horizontal rules get scrambled.
I'm using a portable version of Atom.
UI Theme: Isotope
Syntax Theme: Seti Monokai
from markdown-pdf.
@croxxx Are you still getting this error?
Also, could you try this with dark solarized syntax and atom dark themes and see if it still ignores styles?
from markdown-pdf.
Yes, this still seems to be the case.
Below are my new test results.
Default UI and default syntax theme
View from inside Atom
Resulting PDF
Isotope UI and seti-monokai syntax theme
View from inside Atom
Resulting PDF
Tested using latest versions of all plugins.
So this seems to be a result of using the seti-monokai syntax theme...
from markdown-pdf.
Apologies for taking so long to get back to this; I've been busy with other things and kind of dropped this package for a bit. I'm back now though.
@croxxx
Assuming nothing has changed on this, I'm going to modify the name of this issue and add it to a milestone so we can figure it out.
from markdown-pdf.
In fact I didn't use Atom for documentation for a while...
Something I didn't mention before:
It might be useful to change the sanitize=true option of the markdown converter.
That would allow HTML to be inserted. I used HTML for pagebreaks in the output.
from markdown-pdf.
@croxxx Ok, I think an option or toggle could be added for that. Please add a separate issue for this, and someone may come along and patch it
from markdown-pdf.
This should be enabled now, I think I just forgot to close the issue
from markdown-pdf.
Related Issues (20)
- the images path over length HOT 2
- Conversion fails with `Error: ENOENT: ...` HOT 2
- Unmaintained repository ? HOT 4
- Rewrite the project HOT 2
- Misleading error when trying to convert from a non-editor pane
- Custom user styles doesn't work HOT 3
- Lists with sub-lists do not export to pdf correctly HOT 1
- NBSP Shows Instead of Spaces HOT 2
- Not able to export to other formats than pdf
- Failed to activate the markdown-pdf package HOT 2
- Does not render footnotes (e.g. gitlab flavored markdown)
- Can't disable syntax highlighting in code blocks
- Cannot read property 'pre' of undefined
- How can i use markdown-pdf from the external command line?
- Uncaught Error: Cannot find module 'less'Require stack:- $ATOM_HOME/packages\markdown-pdf\lib\a...
- List numbering is not as expected
- Links to sections of the document do not work in the PDF
- Each line in markdown is written as a new line and not as a paragraph in the PDF
- Missing table element in convert precess
- Base 64 images in markdown are not displayed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-pdf.