diff --git a/README.md b/README.md index 67fe8be8..0c71ef87 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ You are welcome to send pull requests via Github! ### Category definition There are currently two types of categories: `index` (for sub categories) and `overpass` (for OpenStreetMap data, loaded via an Overpass API request). Each of them is defined via a JSON structure. They can be combined into a single file. +Check out the [tutorial](./doc/Tutorial.md)! + #### Category 'index' File: dir.json ```json diff --git a/doc/CategoryAsYAML.md b/doc/Tutorial.md similarity index 100% rename from doc/CategoryAsYAML.md rename to doc/Tutorial.md diff --git a/src/customCategory.js b/src/customCategory.js index 238ca65d..5cd30543 100644 --- a/src/customCategory.js +++ b/src/customCategory.js @@ -148,7 +148,7 @@ class CustomCategoryEditor { const tutorial = document.createElement('span') tutorial.className = 'tip-tutorial' let text = lang('tip-tutorial') - text = text.replace('[', '') + text = text.replace('[', '') text = text.replace(']', '') tutorial.innerHTML = text controls.appendChild(tutorial)