-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Consider default CSS? #33
Comments
Yes, I think this is a reasonable thing to want. Perhaps as in pandoc we could put this under a |
That does look nice, just re-using pandoc's css is an obviously great starting point! I am wondering if perhaps |
I much prefer that a stand-alone option should be appended instead of that being the default.As much as I like the theory of Pandoc templates, the concept never clicked to me. Instead I want to customize documents and get what I have explicitly typed, and nothing else. If this default css-template system is implemented I really hope that it doesn't get so advanced as the Pandoc template system did. For a regular user this gets very advanced very quickly. But if that is the way to go, please make some very detailed, documentation for users that are not familiar with programming.
|
For future reference, here's the CSS we use on the playground to make task lists work: ul.task-list {
list-style: none;
padding-left: 0.5em;
}
ul.task-list > li {
margin-left: 1.5em;
padding-left: 0;
}
li.checked:before {
content: "☒";
margin-left: -1.5em;
float: left;
}
li.unchecked:before {
content: "☐";
margin-left: -1.5em;
float: left;
} |
This is very much a feature-creep issue, but one which is perhaps worth considering.
For djot-as-a-cli-tool, it would be nice if the resulting html file included some minimal css to make output aesthetically nice to look at. That would provide two benefits:
djot note.dj
and get an .html output which you can immediately present (bonus points if you can use browser's "print" functionality to render that to a beautiful pdf).The text was updated successfully, but these errors were encountered: