Skip to content
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

Add the possibility to define style for HTML export #29

Open
Gsyltc opened this issue Aug 26, 2023 · 0 comments
Open

Add the possibility to define style for HTML export #29

Gsyltc opened this issue Aug 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Gsyltc
Copy link

Gsyltc commented Aug 26, 2023

Description

Hi,

Would it be possible to add to styles the ability to define the colors of titles (H1 to H4) and tables for exporting HTML documentation?

This would provide the right formatting for exporting documentation.

Exemple :
branding { logo theme/logo.png font thefont h1color #00c2f1 h2color red thcolor white thbackground #a2c1d3 }

or in Markdown Metadata

---
title: Document title
color:
  h1: #00c2f1
  h2: red
  table_header_background: white
  table_header_colot: #a2c1d3
---

in order to have this in html

    `h1 {
        font-size: 50px;
        font-weight: normal;
        color: #00c2f1
    }
    h2 {
        margin-top: 100px;
        margin-bottom: 10px;
        font-size: 40px;
        font-weight: normal;
        color: red;
    }        
    th {
        background: #a2c1d3;
        color: white;
        font-weight: normal;
        padding: 5px 10px 5px 10px;
        border: solid 1px gray;`

Thanks

Priority

Low

Resolution

I have no budget, please add this feature for free

More information

No response

@Gsyltc Gsyltc added the enhancement New feature or request label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant