| | | |
Offset 104, 16 lines modified | Offset 104, 16 lines modified |
104 | <li><p>The·<code·class="docutils·literal·notranslate"><span·class="pre">link-button</span></code>·directive·creates·a·click-able·button,·linking·to·a·URL·or·reference, | 104 | <li><p>The·<code·class="docutils·literal·notranslate"><span·class="pre">link-button</span></code>·directive·creates·a·click-able·button,·linking·to·a·URL·or·reference, |
105 | and·can·also·be·used·to·make·an·entire·panel·click-able.</p></li> | 105 | and·can·also·be·used·to·make·an·entire·panel·click-able.</p></li> |
106 | <li><p>The·<code·class="docutils·literal·notranslate"><span·class="pre">dropdown</span></code>·directive·creates·toggle-able·content.</p></li> | 106 | <li><p>The·<code·class="docutils·literal·notranslate"><span·class="pre">dropdown</span></code>·directive·creates·toggle-able·content.</p></li> |
107 | <li><p>The·<code·class="docutils·literal·notranslate"><span·class="pre">tabbed</span></code>·directive·creates·tabbed·content.</p></li> | 107 | <li><p>The·<code·class="docutils·literal·notranslate"><span·class="pre">tabbed</span></code>·directive·creates·tabbed·content.</p></li> |
108 | <li><p><code·class="docutils·literal·notranslate"><span·class="pre">opticon</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">fa</span></code>·roles·allow·for·inline·icons·to·be·added.</p></li> | 108 | <li><p><code·class="docutils·literal·notranslate"><span·class="pre">opticon</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">fa</span></code>·roles·allow·for·inline·icons·to·be·added.</p></li> |
109 | </ul> | 109 | </ul> |
110 | <div·class="tabbed-set·docutils"> | 110 | <div·class="tabbed-set·docutils"> |
111 | <input·checked="checked"·id="fe7f302c-19e7-459c-a66d-cfa4ad1e58a5"·name="67fddba2-f7e7-4f8e-ab11-1738e60177ea"·type="radio"> | |
112 | </input><label·class="tabbed-label"·for="fe7f302c-19e7-459c-a66d-cfa4ad1e58a5"> | 111 | <input·checked="checked"·id="17e793cb-84e2-4678-a362-7e19181acf69"·name="72f2abfd-b6ab-460a-86bb-833c0338a749"·type="radio"> |
| 112 | </input><label·class="tabbed-label"·for="17e793cb-84e2-4678-a362-7e19181acf69"> |
113 | ReStructuredText</label><div·class="tabbed-content·docutils"> | 113 | ReStructuredText</label><div·class="tabbed-content·docutils"> |
114 | <div·class="highlight-rst·notranslate"><div·class="highlight"><pre><span></span><span·class="p">..</span>·<span·class="ow">panels</span><span·class="p">::</span> | 114 | <div·class="highlight-rst·notranslate"><div·class="highlight"><pre><span></span><span·class="p">..</span>·<span·class="ow">panels</span><span·class="p">::</span> |
| |
115 | ····Content·of·the·top-left·panel | 115 | ····Content·of·the·top-left·panel |
| |
116 | ····--- | 116 | ····--- |
| |
Offset 131, 16 lines modified | Offset 131, 16 lines modified |
| |
131 | <span·class="p">····..</span>·<span·class="ow">link-button</span><span·class="p">::</span>·https://example.com | 131 | <span·class="p">····..</span>·<span·class="ow">link-button</span><span·class="p">::</span>·https://example.com |
132 | ········<span·class="nc">:text:</span>·Clickable·Panel | 132 | ········<span·class="nc">:text:</span>·Clickable·Panel |
133 | ········<span·class="nc">:classes:</span>·stretched-link | 133 | ········<span·class="nc">:classes:</span>·stretched-link |
134 | </pre></div> | 134 | </pre></div> |
135 | </div> | 135 | </div> |
136 | </div> | 136 | </div> |
137 | <input·id="089cc6ca-6f6e-4505-ae23-a55dd6e8edab"·name="67fddba2-f7e7-4f8e-ab11-1738e60177ea"·type="radio"> | |
138 | </input><label·class="tabbed-label"·for="089cc6ca-6f6e-4505-ae23-a55dd6e8edab"> | 137 | <input·id="2c2f8588-0283-402e-8323-a909acaad6d5"·name="72f2abfd-b6ab-460a-86bb-833c0338a749"·type="radio"> |
| 138 | </input><label·class="tabbed-label"·for="2c2f8588-0283-402e-8323-a909acaad6d5"> |
139 | MyST·Markdown</label><div·class="tabbed-content·docutils"> | 139 | MyST·Markdown</label><div·class="tabbed-content·docutils"> |
140 | <div·class="highlight-md·notranslate"><div·class="highlight"><pre><span></span>````{panels} | 140 | <div·class="highlight-md·notranslate"><div·class="highlight"><pre><span></span>````{panels} |
141 | Content·of·the·top-left·panel | 141 | Content·of·the·top-left·panel |
| |
142 | --- | 142 | --- |
| |
143 | Content·of·the·top-right·panel | 143 | Content·of·the·top-right·panel |
Offset 847, 86 lines modified | Offset 847, 86 lines modified |
| |
847 | <span·class="p">····..</span>·<span·class="ow">dropdown</span><span·class="p">::</span>·Nested·Dropdown | 847 | <span·class="p">····..</span>·<span·class="ow">dropdown</span><span·class="p">::</span>·Nested·Dropdown |
| |
848 | ········Some·content | 848 | ········Some·content |
849 | </pre></div> | 849 | </pre></div> |
850 | </div> | 850 | </div> |
851 | <div·class="tabbed-set·docutils"> | 851 | <div·class="tabbed-set·docutils"> |
852 | <input·checked="checked"·id="25bb78d4-3f75-42fd-a92b-5b8ce6c8809c"·name="83950ace-65ec-4ab3-ba2a-c4e2cffc5eba"·type="radio"> | |
853 | </input><label·class="tabbed-label"·for="25bb78d4-3f75-42fd-a92b-5b8ce6c8809c"> | 852 | <input·checked="checked"·id="fe07a3e2-935c-4251-8f02-99bd77c52919"·name="a393dbe7-32ad-45f1-a696-d12e3ad8c98d"·type="radio"> |
| 853 | </input><label·class="tabbed-label"·for="fe07a3e2-935c-4251-8f02-99bd77c52919"> |
854 | Tab·1</label><div·class="tabbed-content·docutils"> | 854 | Tab·1</label><div·class="tabbed-content·docutils"> |
855 | <p>Tab·1·content</p> | 855 | <p>Tab·1·content</p> |
856 | </div> | 856 | </div> |
857 | <input·id="bcb0eaaf-5bd9-4ed4-b133-1626ac3f7aec"·name="83950ace-65ec-4ab3-ba2a-c4e2cffc5eba"·type="radio"> | |
858 | </input><label·class="tabbed-label"·for="bcb0eaaf-5bd9-4ed4-b133-1626ac3f7aec"> | 857 | <input·id="23ec3a60-ba84-41be-ac9f-90db1fb52406"·name="a393dbe7-32ad-45f1-a696-d12e3ad8c98d"·type="radio"> |
| 858 | </input><label·class="tabbed-label"·for="23ec3a60-ba84-41be-ac9f-90db1fb52406"> |
859 | Tab·2</label><div·class="tabbed-content·pl-1·bg-primary·docutils"> | 859 | Tab·2</label><div·class="tabbed-content·pl-1·bg-primary·docutils"> |
860 | <p>Tab·2·content</p> | 860 | <p>Tab·2·content</p> |
861 | </div> | 861 | </div> |
862 | </div> | 862 | </div> |
863 | <div·class="tabbed-set·docutils"> | 863 | <div·class="tabbed-set·docutils"> |
864 | <input·id="46fb203a-8b2b-46f9-8444-937f530a8a80"·name="c4c3ac00-02d5-4d42-8579-e99effc2724a"·type="radio"> | |
865 | </input><label·class="tabbed-label"·for="46fb203a-8b2b-46f9-8444-937f530a8a80"> | 864 | <input·id="16efee6b-414f-4124-a8ce-fa66de5e2b93"·name="0b24aeba-e1e6-4abd-b889-0a8d852d7548"·type="radio"> |
| 865 | </input><label·class="tabbed-label"·for="16efee6b-414f-4124-a8ce-fa66de5e2b93"> |
866 | Tab·3</label><div·class="tabbed-content·docutils"> | 866 | Tab·3</label><div·class="tabbed-content·docutils"> |
867 | <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">pip</span> | 867 | <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">pip</span> |
868 | </pre></div> | 868 | </pre></div> |
869 | </div> | 869 | </div> |
870 | </div> | 870 | </div> |
871 | <input·checked="checked"·id="d3be32d3-8cb8-4405-a740-ba5d0ee4cdeb"·name="c4c3ac00-02d5-4d42-8579-e99effc2724a"·type="radio"> | |
872 | </input><label·class="tabbed-label"·for="d3be32d3-8cb8-4405-a740-ba5d0ee4cdeb"> | 871 | <input·checked="checked"·id="22070711-8427-44fa-86eb-5bc0f4f66ba8"·name="0b24aeba-e1e6-4abd-b889-0a8d852d7548"·type="radio"> |
| 872 | </input><label·class="tabbed-label"·for="22070711-8427-44fa-86eb-5bc0f4f66ba8"> |
873 | Tab·4</label><div·class="tabbed-content·docutils"> | 873 | Tab·4</label><div·class="tabbed-content·docutils"> |
874 | <details·class="sphinx-bs·dropdown·card·mb-3"> | 874 | <details·class="sphinx-bs·dropdown·card·mb-3"> |
875 | <summary·class="summary-title·card-header"> | 875 | <summary·class="summary-title·card-header"> |
876 | Nested·Dropdown<div·class="summary-down·docutils"> | 876 | Nested·Dropdown<div·class="summary-down·docutils"> |
877 | <svg·version="1.1"·width="24"·height="24"·class="octicon·octicon-chevron-down"·viewBox="0·0·24·24"·aria-hidden="true"><path·fill-rule="evenodd"·d="M5.22·8.72a.75.75·0·000·1.06l6.25·6.25a.75.75·0·001.06·0l6.25-6.25a.75.75·0·00-1.06-1.06L12·14.44·6.28·8.72a.75.75·0·00-1.06·0z"></path></svg></div> | 877 | <svg·version="1.1"·width="24"·height="24"·class="octicon·octicon-chevron-down"·viewBox="0·0·24·24"·aria-hidden="true"><path·fill-rule="evenodd"·d="M5.22·8.72a.75.75·0·000·1.06l6.25·6.25a.75.75·0·001.06·0l6.25-6.25a.75.75·0·00-1.06-1.06L12·14.44·6.28·8.72a.75.75·0·00-1.06·0z"></path></svg></div> |
878 | <div·class="summary-up·docutils"> | 878 | <div·class="summary-up·docutils"> |
879 | <svg·version="1.1"·width="24"·height="24"·class="octicon·octicon-chevron-up"·viewBox="0·0·24·24"·aria-hidden="true"><path·fill-rule="evenodd"·d="M18.78·15.28a.75.75·0·000-1.06l-6.25-6.25a.75.75·0·00-1.06·0l-6.25·6.25a.75.75·0·101.06·1.06L12·9.56l5.72·5.72a.75.75·0·001.06·0z"></path></svg></div> | 879 | <svg·version="1.1"·width="24"·height="24"·class="octicon·octicon-chevron-up"·viewBox="0·0·24·24"·aria-hidden="true"><path·fill-rule="evenodd"·d="M18.78·15.28a.75.75·0·000-1.06l-6.25-6.25a.75.75·0·00-1.06·0l-6.25·6.25a.75.75·0·101.06·1.06L12·9.56l5.72·5.72a.75.75·0·001.06·0z"></path></svg></div> |
880 | </summary><div·class="summary-content·card-body·docutils"> | 880 | </summary><div·class="summary-content·card-body·docutils"> |
881 | <p·class="card-text">Some·content</p> | 881 | <p·class="card-text">Some·content</p> |
882 | </div> | 882 | </div> |
883 | </details></div> | 883 | </details></div> |
884 | </div> | 884 | </div> |
885 | <p>Here’s·an·example·of·showing·an·example·in·multiple·programming·languages:</p> | 885 | <p>Here’s·an·example·of·showing·an·example·in·multiple·programming·languages:</p> |
886 | <div·class="tabbed-set·docutils"> | 886 | <div·class="tabbed-set·docutils"> |
887 | <input·checked="checked"·id="6fc51177-9a29-48d3-8d3c-4d7560572c3f"·name="7437c193-c826-4382-8ec8-a5937fce181a"·type="radio"> | |
888 | </input><label·class="tabbed-label"·for="6fc51177-9a29-48d3-8d3c-4d7560572c3f"> | 887 | <input·checked="checked"·id="09459fda-42d8-4911-b188-0e5a78b38ef4"·name="c1e361f5-bfb4-45a7-a64d-6c79011544b0"·type="radio"> |
| 888 | </input><label·class="tabbed-label"·for="09459fda-42d8-4911-b188-0e5a78b38ef4"> |
889 | c++</label><div·class="tabbed-content·docutils"> | 889 | c++</label><div·class="tabbed-content·docutils"> |
890 | <div·class="highlight-c++·notranslate"><div·class="highlight"><pre><span></span><span·class="kt">int</span><span·class="w">·</span><span·class="nf">main</span><span·class="p">(</span><span·class="k">const</span><span·class="w">·</span><span·class="kt">int</span><span·class="w">·</span><span·class="n">argc</span><span·class="p">,</span><span·class="w">·</span><span·class="k">const</span><span·class="w">·</span><span·class="kt">char</span><span·class="w">·</span><span·class="o">**</span><span·class="n">argv</span><span·class="p">)</span><span·class="w">·</span><span·class="p">{</span> | 890 | <div·class="highlight-c++·notranslate"><div·class="highlight"><pre><span></span><span·class="kt">int</span><span·class="w">·</span><span·class="nf">main</span><span·class="p">(</span><span·class="k">const</span><span·class="w">·</span><span·class="kt">int</span><span·class="w">·</span><span·class="n">argc</span><span·class="p">,</span><span·class="w">·</span><span·class="k">const</span><span·class="w">·</span><span·class="kt">char</span><span·class="w">·</span><span·class="o">**</span><span·class="n">argv</span><span·class="p">)</span><span·class="w">·</span><span·class="p">{</span> |
891 | <span·class="w">··</span><span·class="k">return</span><span·class="w">·</span><span·class="mi">0</span><span·class="p">;</span> | 891 | <span·class="w">··</span><span·class="k">return</span><span·class="w">·</span><span·class="mi">0</span><span·class="p">;</span> |
892 | <span·class="p">}</span> | 892 | <span·class="p">}</span> |
893 | </pre></div> | 893 | </pre></div> |
894 | </div> | 894 | </div> |
895 | </div> | 895 | </div> |
896 | <input·id="689d7b15-343d-46c4-afd2-7bd86119e6e7"·name="7437c193-c826-4382-8ec8-a5937fce181a"·type="radio"> | |
897 | </input><label·class="tabbed-label"·for="689d7b15-343d-46c4-afd2-7bd86119e6e7"> | 896 | <input·id="4099a8d6-a29c-4942-9ece-ef38298ace0d"·name="c1e361f5-bfb4-45a7-a64d-6c79011544b0"·type="radio"> |
| 897 | </input><label·class="tabbed-label"·for="4099a8d6-a29c-4942-9ece-ef38298ace0d"> |
898 | python</label><div·class="tabbed-content·docutils"> | 898 | python</label><div·class="tabbed-content·docutils"> |
899 | <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="k">def</span>·<span·class="nf">main</span><span·class="p">():</span> | 899 | <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="k">def</span>·<span·class="nf">main</span><span·class="p">():</span> |
900 | ····<span·class="k">return</span> | 900 | ····<span·class="k">return</span> |
901 | </pre></div> | 901 | </pre></div> |
902 | </div> | 902 | </div> |
903 | </div> | 903 | </div> |
904 | <input·id="84bdedb3-aa6f-41af-8999-fcec98f37695"·name="7437c193-c826-4382-8ec8-a5937fce181a"·type="radio"> | |
905 | </input><label·class="tabbed-label"·for="84bdedb3-aa6f-41af-8999-fcec98f37695"> | 904 | <input·id="4eb3eecf-1a80-4607-861f-99b20cda50c3"·name="c1e361f5-bfb4-45a7-a64d-6c79011544b0"·type="radio"> |
| 905 | </input><label·class="tabbed-label"·for="4eb3eecf-1a80-4607-861f-99b20cda50c3"> |
906 | java</label><div·class="tabbed-content·docutils"> | 906 | java</label><div·class="tabbed-content·docutils"> |
907 | <div·class="highlight-java·notranslate"><div·class="highlight"><pre><span></span><span·class="kd">class</span>·<span·class="nc">Main</span><span·class="w">·</span><span·class="p">{</span> | 907 | <div·class="highlight-java·notranslate"><div·class="highlight"><pre><span></span><span·class="kd">class</span>·<span·class="nc">Main</span><span·class="w">·</span><span·class="p">{</span> |
908 | <span·class="w">····</span><span·class="kd">public</span><span·class="w">·</span><span·class="kd">static</span><span·class="w">·</span><span·class="kt">void</span><span·class="w">·</span><span·class="nf">main</span><span·class="p">(</span><span·class="n">String</span><span·class="o">[]</span><span·class="w">·</span><span·class="n">args</span><span·class="p">)</span><span·class="w">·</span><span·class="p">{</span> | 908 | <span·class="w">····</span><span·class="kd">public</span><span·class="w">·</span><span·class="kd">static</span><span·class="w">·</span><span·class="kt">void</span><span·class="w">·</span><span·class="nf">main</span><span·class="p">(</span><span·class="n">String</span><span·class="o">[]</span><span·class="w">·</span><span·class="n">args</span><span·class="p">)</span><span·class="w">·</span><span·class="p">{</span> |
909 | <span·class="w">····</span><span·class="p">}</span> | 909 | <span·class="w">····</span><span·class="p">}</span> |
910 | <span·class="p">}</span> | 910 | <span·class="p">}</span> |
911 | </pre></div> | 911 | </pre></div> |
912 | </div> | 912 | </div> |
913 | </div> | 913 | </div> |
914 | <input·id="9bd69070-8a79-4076-b4fe-c0a5ffda6b48"·name="7437c193-c826-4382-8ec8-a5937fce181a"·type="radio"> | |
915 | </input><label·class="tabbed-label"·for="9bd69070-8a79-4076-b4fe-c0a5ffda6b48"> | 914 | <input·id="f3929b09-ab43-4900-9006-27b7201b58bd"·name="c1e361f5-bfb4-45a7-a64d-6c79011544b0"·type="radio"> |
| 915 | </input><label·class="tabbed-label"·for="f3929b09-ab43-4900-9006-27b7201b58bd"> |
916 | julia</label><div·class="tabbed-content·docutils"> | 916 | julia</label><div·class="tabbed-content·docutils"> |
917 | <div·class="highlight-julia·notranslate"><div·class="highlight"><pre><span></span><span·class="k">function</span><span·class="w">·</span><span·class="n">main</span><span·class="p">()</span> | 917 | <div·class="highlight-julia·notranslate"><div·class="highlight"><pre><span></span><span·class="k">function</span><span·class="w">·</span><span·class="n">main</span><span·class="p">()</span> |
918 | <span·class="k">end</span> | 918 | <span·class="k">end</span> |
919 | </pre></div> | 919 | </pre></div> |
920 | </div> | 920 | </div> |
921 | </div> | 921 | </div> |
922 | <input·id="b7436cde-dcf2-4685-ac05-11781949c668"·name="7437c193-c826-4382-8ec8-a5937fce181a"·type="radio"> | |
923 | </input><label·class="tabbed-label"·for="b7436cde-dcf2-4685-ac05-11781949c668"> | 922 | <input·id="7ef279d5-998d-4498-a9f7-c99b2dfe17c6"·name="c1e361f5-bfb4-45a7-a64d-6c79011544b0"·type="radio"> |
| 923 | </input><label·class="tabbed-label"·for="7ef279d5-998d-4498-a9f7-c99b2dfe17c6"> |
924 | fortran</label><div·class="tabbed-content·docutils"> | 924 | fortran</label><div·class="tabbed-content·docutils"> |
925 | <div·class="highlight-fortran·notranslate"><div·class="highlight"><pre><span></span><span·class="k">PROGRAM·</span><span·class="n">main</span> | 925 | <div·class="highlight-fortran·notranslate"><div·class="highlight"><pre><span></span><span·class="k">PROGRAM·</span><span·class="n">main</span> |
926 | <span·class="k">END·PROGRAM·</span><span·class="n">main</span> | 926 | <span·class="k">END·PROGRAM·</span><span·class="n">main</span> |
Max diff block lines reached; 24/10101 bytes (0.24%) of diff not shown.
|