You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2025.5.1/user-guide/configuration/index.html
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1057,8 +1057,8 @@ <h2 id="file-or-inline">File or inline</h2>
1057
1057
<divclass="language-HTML highlight"><spanclass="filename">JSON as the value of the config attribute.</span><pre><span></span><code><spanid="__span-3-1"><aid="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><spanclass="p"><</span><spanclass="nt">script</span><spanclass="na">type</span><spanclass="o">=</span><spanclass="s">"mpy"</span><spanclass="na">src</span><spanclass="o">=</span><spanclass="s">"main.py"</span><spanclass="na">config</span><spanclass="o">=</span><spanclass="s">'{"packages":["arrr", "numberwang"]}'</span><spanclass="p">></</span><spanclass="nt">script</span><spanclass="p">></span>
1058
1058
</span></code></pre></div>
1059
1059
<p>For historical and convenience reasons we still support the inline
1060
-
specification of configuration information via a <em>single</em><code><py-config></code>or
1061
-
<code><mpy-config></code> tag in your HTML document:</p>
1060
+
specification of configuration information for <code>py</code> and <code>mpy</code>type scripts via a
1061
+
<em>single</em><code><py-config></code> or <code><mpy-config></code> tag in your HTML document:</p>
1062
1062
<divclass="language-HTML highlight"><spanclass="filename">Inline configuration via the <py-config> tag.</span><pre><span></span><code><spanid="__span-4-1"><aid="__codelineno-4-1" name="__codelineno-4-1" href="#__codelineno-4-1"></a><spanclass="p"><</span><spanclass="nt">py-config</span><spanclass="p">></span>
0 commit comments