Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Example name is converted to kebab-case when generating html file, but it is not converted when it is used in the iframe/anchor to reference the said file #94

@mbehzad

Description

@mbehzad

When using external example files, when the examle name is for example in camelCase, the generetad file name is kebab-case (generator.js:245) but the iframes src path has the original camelCase name in it (generator.js:192). Therefor the html file can't be loaded.

example:

---
name: mainNavigation
---

```mainNavigation:mainNavigation.html
\```

generated filename:
main-navigation-main-navigation.html

iframe / anchor url:
main-navigation-mainNavigation.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions