fix: make all code examples visible by default
- Add 'open' attribute to all <details> sections - Ensure code examples are immediately visible to users - No need to click to expand - documentation should be accessible
This commit is contained in:
parent
1bf4d26a8a
commit
af7019f91b
1 changed files with 4 additions and 4 deletions
|
|
@ -237,7 +237,7 @@
|
|||
</div>
|
||||
|
||||
<h4>📄 Code Example</h4>
|
||||
<details>
|
||||
<details open>
|
||||
<summary><strong>How to add specific feature buttons</strong></summary>
|
||||
<p>Mix and match any features you want:</p>
|
||||
<pre><code class="html"><!-- TTS and Read buttons only -->
|
||||
|
|
@ -282,7 +282,7 @@
|
|||
</div>
|
||||
|
||||
<h4>📄 Code Examples</h4>
|
||||
<details>
|
||||
<details open>
|
||||
<summary><strong>How to implement both TTS options</strong></summary>
|
||||
|
||||
<h5>Option 1: TTS Widget Button</h5>
|
||||
|
|
@ -322,7 +322,7 @@
|
|||
</div>
|
||||
|
||||
<h4>📄 Code Examples</h4>
|
||||
<details>
|
||||
<details open>
|
||||
<summary><strong>How to implement both translation options</strong></summary>
|
||||
|
||||
<h5>Option 1: Translation Widget Button</h5>
|
||||
|
|
@ -420,7 +420,7 @@ console.log(SUPPORTED_LANGUAGES);
|
|||
</div>
|
||||
|
||||
<h4>📄 Code Examples</h4>
|
||||
<details>
|
||||
<details open>
|
||||
<summary><strong>How to add read page functionality</strong></summary>
|
||||
|
||||
<h5>Option 1: Read Page Button in Widget</h5>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue