Skip to content

Add style support to the docs #588

@Stevemoretz

Description

@Stevemoretz

Thanks for the insight @neoziro !

Use .svgrrc with the following content

{
  "svgoConfig": {
    "plugins": [
      {
        "inlineStyles": {
          "onlyMatchedOnce": false
        }
      }
    ]
  }
}

Originally posted by @7ynk3r in #245 (comment)

Took me two hours to find this and figure out how to make the config work, no single examples were provided on how to use the config reading multiple documention pages and some more stuff I figured out how to set it up for the cli version, you could document this that it adds style support and also really easy to setup if an example was provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions