From 35c579eb97d94f161db78dcdfcdfcae3bf2eab22 Mon Sep 17 00:00:00 2001 From: mbehzad Date: Mon, 4 May 2020 17:46:38 +0200 Subject: [PATCH] fix: convert the example name to kebab-case in the iframe/anchor url to be the same as the filename of the generetad html. fixes issue: (#94) --- src/generator.js | 51 ++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/src/generator.js b/src/generator.js index 4b7d758..fe9725d 100644 --- a/src/generator.js +++ b/src/generator.js @@ -170,31 +170,32 @@ class Generator { if (doc.description) { // Replaces tags with