Create Separate Stylesheet for Styled HTML Export
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- css, javascript
Research direction
Start in plugins/core/core.js around line 91, where styled HTML currently uses app.css. Trace how the stylesheet is included in the generated HTML, then add the separate styled-html.css requested by the issue. Done means styled exports load that stylesheet and apply 5% body padding without relying on app.css.
Written by the indexing model from the issue text.
Description
When I export to styled HTML I want to have a 5% padding applied to the body.
Right now, the styled HTML only pulls from the app.css file.
https://github.com/joemccann/dillinger/blob/master/plugins/core/core.js#L91
We need to have a styled-html.css that is applied to the generated HTML that is separate so we can add the padding and any other style tweaks.
- Dominant language
- TypeScript
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from joemccann/dillinger
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Google Drive OAuth authorization fails with Error 403: access_denied (unverified app / testing mode) Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in joemccann/dillinger
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100