Skip to content
This repository has been 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

Open
mbehzad opened this issue May 4, 2020 · 0 comments

Comments

@mbehzad
Copy link

mbehzad commented May 4, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant