| | | |
Offset 105, 16 lines modified | Offset 105, 16 lines modified |
105 | <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 | <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, |
106 | and·can·also·be·used·to·make·an·entire·panel·click-able.</p></li> | 106 | and·can·also·be·used·to·make·an·entire·panel·click-able.</p></li> |
107 | <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">dropdown</span></code>·directive·creates·toggle-able·content.</p></li> |
108 | <li><p>The·<code·class="docutils·literal·notranslate"><span·class="pre">tabbed</span></code>·directive·creates·tabbed·content.</p></li> | 108 | <li><p>The·<code·class="docutils·literal·notranslate"><span·class="pre">tabbed</span></code>·directive·creates·tabbed·content.</p></li> |
109 | <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 | <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> |
110 | </ul> | 110 | </ul> |
111 | <div·class="tabbed-set·docutils"> | 111 | <div·class="tabbed-set·docutils"> |
112 | <input·checked="checked"·id="edac0b87-5ef2-4d3d-9b65-edfc561de268"·name="13c63db1-48ff-4f8a-a2f6-8a22e039a0aa"·type="radio"> | |
113 | </input><label·class="tabbed-label"·for="edac0b87-5ef2-4d3d-9b65-edfc561de268"> | 112 | <input·checked="checked"·id="c4924639-0f2a-4453-bd76-be5745ba848e"·name="4c7b1611-e2cf-42eb-9873-95c52b167706"·type="radio"> |
| 113 | </input><label·class="tabbed-label"·for="c4924639-0f2a-4453-bd76-be5745ba848e"> |
114 | ReStructuredText</label><div·class="tabbed-content·docutils"> | 114 | ReStructuredText</label><div·class="tabbed-content·docutils"> |
115 | <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 | <div·class="highlight-rst·notranslate"><div·class="highlight"><pre><span></span><span·class="p">..</span>·<span·class="ow">panels</span><span·class="p">::</span> |
| |
116 | ····Content·of·the·top-left·panel | 116 | ····Content·of·the·top-left·panel |
| |
117 | ····--- | 117 | ····--- |
| |
Offset 132, 16 lines modified | Offset 132, 16 lines modified |
| |
132 | <span·class="p">····..</span>·<span·class="ow">link-button</span><span·class="p">::</span>·https://example.com | 132 | <span·class="p">····..</span>·<span·class="ow">link-button</span><span·class="p">::</span>·https://example.com |
133 | ········<span·class="nc">:text:</span>·Clickable·Panel | 133 | ········<span·class="nc">:text:</span>·Clickable·Panel |
134 | ········<span·class="nc">:classes:</span>·stretched-link | 134 | ········<span·class="nc">:classes:</span>·stretched-link |
135 | </pre></div> | 135 | </pre></div> |
136 | </div> | 136 | </div> |
137 | </div> | 137 | </div> |
138 | <input·id="29f34ffa-0cf9-49db-90a0-7518810fe646"·name="13c63db1-48ff-4f8a-a2f6-8a22e039a0aa"·type="radio"> | |
139 | </input><label·class="tabbed-label"·for="29f34ffa-0cf9-49db-90a0-7518810fe646"> | 138 | <input·id="051741fb-793b-4a44-96af-3ec6308f1ab5"·name="4c7b1611-e2cf-42eb-9873-95c52b167706"·type="radio"> |
| 139 | </input><label·class="tabbed-label"·for="051741fb-793b-4a44-96af-3ec6308f1ab5"> |
140 | MyST·Markdown</label><div·class="tabbed-content·docutils"> | 140 | MyST·Markdown</label><div·class="tabbed-content·docutils"> |
141 | <div·class="highlight-md·notranslate"><div·class="highlight"><pre><span></span>````{panels} | 141 | <div·class="highlight-md·notranslate"><div·class="highlight"><pre><span></span>````{panels} |
142 | Content·of·the·top-left·panel | 142 | Content·of·the·top-left·panel |
| |
143 | --- | 143 | --- |
| |
144 | Content·of·the·top-right·panel | 144 | Content·of·the·top-right·panel |
Offset 848, 86 lines modified | Offset 848, 86 lines modified |
| |
848 | <span·class="p">····..</span>·<span·class="ow">dropdown</span><span·class="p">::</span>·Nested·Dropdown | 848 | <span·class="p">····..</span>·<span·class="ow">dropdown</span><span·class="p">::</span>·Nested·Dropdown |
| |
849 | ········Some·content | 849 | ········Some·content |
850 | </pre></div> | 850 | </pre></div> |
851 | </div> | 851 | </div> |
852 | <div·class="tabbed-set·docutils"> | 852 | <div·class="tabbed-set·docutils"> |
853 | <input·checked="checked"·id="f3d847c9-5beb-4e07-89b1-69fdb7c520b5"·name="28848b7e-ff07-49b2-8cbb-c4f6f2cc3a95"·type="radio"> | |
854 | </input><label·class="tabbed-label"·for="f3d847c9-5beb-4e07-89b1-69fdb7c520b5"> | 853 | <input·checked="checked"·id="8a51b472-a03b-4983-b8ec-9aaa0096576b"·name="953fddd6-5882-4654-9991-d8b8c83b1ede"·type="radio"> |
| 854 | </input><label·class="tabbed-label"·for="8a51b472-a03b-4983-b8ec-9aaa0096576b"> |
855 | Tab·1</label><div·class="tabbed-content·docutils"> | 855 | Tab·1</label><div·class="tabbed-content·docutils"> |
856 | <p>Tab·1·content</p> | 856 | <p>Tab·1·content</p> |
857 | </div> | 857 | </div> |
858 | <input·id="8d602d96-751e-43d1-99b1-8941ac881d80"·name="28848b7e-ff07-49b2-8cbb-c4f6f2cc3a95"·type="radio"> | |
859 | </input><label·class="tabbed-label"·for="8d602d96-751e-43d1-99b1-8941ac881d80"> | 858 | <input·id="47f1da23-411b-4e7e-8263-675c5d5223d8"·name="953fddd6-5882-4654-9991-d8b8c83b1ede"·type="radio"> |
| 859 | </input><label·class="tabbed-label"·for="47f1da23-411b-4e7e-8263-675c5d5223d8"> |
860 | Tab·2</label><div·class="tabbed-content·pl-1·bg-primary·docutils"> | 860 | Tab·2</label><div·class="tabbed-content·pl-1·bg-primary·docutils"> |
861 | <p>Tab·2·content</p> | 861 | <p>Tab·2·content</p> |
862 | </div> | 862 | </div> |
863 | </div> | 863 | </div> |
864 | <div·class="tabbed-set·docutils"> | 864 | <div·class="tabbed-set·docutils"> |
865 | <input·id="a63fb54b-4868-4af9-850c-fb23598970a3"·name="2dce9536-1e2e-42ce-9590-5f638a18324e"·type="radio"> | |
866 | </input><label·class="tabbed-label"·for="a63fb54b-4868-4af9-850c-fb23598970a3"> | 865 | <input·id="9ea3dc08-332c-4a4d-baad-2e257906eae2"·name="b7eea774-40f0-4c91-8567-2e180896360f"·type="radio"> |
| 866 | </input><label·class="tabbed-label"·for="9ea3dc08-332c-4a4d-baad-2e257906eae2"> |
867 | Tab·3</label><div·class="tabbed-content·docutils"> | 867 | Tab·3</label><div·class="tabbed-content·docutils"> |
868 | <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">pip</span> | 868 | <div·class="highlight-python·notranslate"><div·class="highlight"><pre><span></span><span·class="kn">import</span>·<span·class="nn">pip</span> |
869 | </pre></div> | 869 | </pre></div> |
870 | </div> | 870 | </div> |
871 | </div> | 871 | </div> |
872 | <input·checked="checked"·id="ef007677-1315-4289-8dea-be37ceef8d0a"·name="2dce9536-1e2e-42ce-9590-5f638a18324e"·type="radio"> | |
873 | </input><label·class="tabbed-label"·for="ef007677-1315-4289-8dea-be37ceef8d0a"> | 872 | <input·checked="checked"·id="d6fd3d17-7b99-41f5-a7ff-c1e2ddee5d8f"·name="b7eea774-40f0-4c91-8567-2e180896360f"·type="radio"> |
| 873 | </input><label·class="tabbed-label"·for="d6fd3d17-7b99-41f5-a7ff-c1e2ddee5d8f"> |
874 | Tab·4</label><div·class="tabbed-content·docutils"> | 874 | Tab·4</label><div·class="tabbed-content·docutils"> |
875 | <details·class="sphinx-bs·dropdown·card·mb-3"> | 875 | <details·class="sphinx-bs·dropdown·card·mb-3"> |
876 | <summary·class="summary-title·card-header"> | 876 | <summary·class="summary-title·card-header"> |
877 | Nested·Dropdown<div·class="summary-down·docutils"> | 877 | Nested·Dropdown<div·class="summary-down·docutils"> |
878 | <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 | <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> |
879 | <div·class="summary-up·docutils"> | 879 | <div·class="summary-up·docutils"> |
880 | <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 | <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> |
881 | </summary><div·class="summary-content·card-body·docutils"> | 881 | </summary><div·class="summary-content·card-body·docutils"> |
882 | <p·class="card-text">Some·content</p> | 882 | <p·class="card-text">Some·content</p> |
883 | </div> | 883 | </div> |
884 | </details></div> | 884 | </details></div> |
885 | </div> | 885 | </div> |
886 | <p>Here’s·an·example·of·showing·an·example·in·multiple·programming·languages:</p> | 886 | <p>Here’s·an·example·of·showing·an·example·in·multiple·programming·languages:</p> |
887 | <div·class="tabbed-set·docutils"> | 887 | <div·class="tabbed-set·docutils"> |
888 | <input·checked="checked"·id="21f75a23-0dd7-4a93-85e5-8bfffe88fb35"·name="3d2f9ab2-8c0b-4ad5-a6a0-4fc2e0e23ceb"·type="radio"> | |
889 | </input><label·class="tabbed-label"·for="21f75a23-0dd7-4a93-85e5-8bfffe88fb35"> | 888 | <input·checked="checked"·id="c77c797c-4730-4502-b8f9-379a852988c6"·name="826434fe-214e-4733-ad82-711aa9c37e44"·type="radio"> |
| 889 | </input><label·class="tabbed-label"·for="c77c797c-4730-4502-b8f9-379a852988c6"> |
890 | c++</label><div·class="tabbed-content·docutils"> | 890 | c++</label><div·class="tabbed-content·docutils"> |
891 | <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 | <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> |
892 | <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="w">··</span><span·class="k">return</span><span·class="w">·</span><span·class="mi">0</span><span·class="p">;</span> |
893 | <span·class="p">}</span> | 893 | <span·class="p">}</span> |
894 | </pre></div> | 894 | </pre></div> |
895 | </div> | 895 | </div> |
896 | </div> | 896 | </div> |
897 | <input·id="4eb079ac-4612-45ee-ab24-fcf17d9d444a"·name="3d2f9ab2-8c0b-4ad5-a6a0-4fc2e0e23ceb"·type="radio"> | |
898 | </input><label·class="tabbed-label"·for="4eb079ac-4612-45ee-ab24-fcf17d9d444a"> | 897 | <input·id="c49f4171-41d5-40ed-8c74-d4db05f4fa45"·name="826434fe-214e-4733-ad82-711aa9c37e44"·type="radio"> |
| 898 | </input><label·class="tabbed-label"·for="c49f4171-41d5-40ed-8c74-d4db05f4fa45"> |
899 | python</label><div·class="tabbed-content·docutils"> | 899 | python</label><div·class="tabbed-content·docutils"> |
900 | <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 | <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> |
901 | ····<span·class="k">return</span> | 901 | ····<span·class="k">return</span> |
902 | </pre></div> | 902 | </pre></div> |
903 | </div> | 903 | </div> |
904 | </div> | 904 | </div> |
905 | <input·id="42842ca6-a2f5-433c-99fb-7842b742bde3"·name="3d2f9ab2-8c0b-4ad5-a6a0-4fc2e0e23ceb"·type="radio"> | |
906 | </input><label·class="tabbed-label"·for="42842ca6-a2f5-433c-99fb-7842b742bde3"> | 905 | <input·id="9f5f2329-7dce-4a84-a550-6775fcb56e64"·name="826434fe-214e-4733-ad82-711aa9c37e44"·type="radio"> |
| 906 | </input><label·class="tabbed-label"·for="9f5f2329-7dce-4a84-a550-6775fcb56e64"> |
907 | java</label><div·class="tabbed-content·docutils"> | 907 | java</label><div·class="tabbed-content·docutils"> |
908 | <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 | <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> |
909 | <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="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> |
910 | <span·class="w">····</span><span·class="p">}</span> | 910 | <span·class="w">····</span><span·class="p">}</span> |
911 | <span·class="p">}</span> | 911 | <span·class="p">}</span> |
912 | </pre></div> | 912 | </pre></div> |
913 | </div> | 913 | </div> |
914 | </div> | 914 | </div> |
915 | <input·id="ea0a3c33-6aa0-4f4a-b0c1-5686c147a988"·name="3d2f9ab2-8c0b-4ad5-a6a0-4fc2e0e23ceb"·type="radio"> | |
916 | </input><label·class="tabbed-label"·for="ea0a3c33-6aa0-4f4a-b0c1-5686c147a988"> | 915 | <input·id="b334bc5d-460f-4a80-8586-3fb4a454e070"·name="826434fe-214e-4733-ad82-711aa9c37e44"·type="radio"> |
| 916 | </input><label·class="tabbed-label"·for="b334bc5d-460f-4a80-8586-3fb4a454e070"> |
917 | julia</label><div·class="tabbed-content·docutils"> | 917 | julia</label><div·class="tabbed-content·docutils"> |
918 | <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 | <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> |
919 | <span·class="k">end</span> | 919 | <span·class="k">end</span> |
920 | </pre></div> | 920 | </pre></div> |
921 | </div> | 921 | </div> |
922 | </div> | 922 | </div> |
923 | <input·id="eb80459d-7af0-4d7f-9290-b260e2bc5bf4"·name="3d2f9ab2-8c0b-4ad5-a6a0-4fc2e0e23ceb"·type="radio"> | |
924 | </input><label·class="tabbed-label"·for="eb80459d-7af0-4d7f-9290-b260e2bc5bf4"> | 923 | <input·id="96363861-ec17-4385-bb39-5fc998804395"·name="826434fe-214e-4733-ad82-711aa9c37e44"·type="radio"> |
| 924 | </input><label·class="tabbed-label"·for="96363861-ec17-4385-bb39-5fc998804395"> |
925 | fortran</label><div·class="tabbed-content·docutils"> | 925 | fortran</label><div·class="tabbed-content·docutils"> |
926 | <div·class="highlight-fortran·notranslate"><div·class="highlight"><pre><span></span><span·class="k">PROGRAM·</span><span·class="n">main</span> | 926 | <div·class="highlight-fortran·notranslate"><div·class="highlight"><pre><span></span><span·class="k">PROGRAM·</span><span·class="n">main</span> |
927 | <span·class="k">END·PROGRAM·</span><span·class="n">main</span> | 927 | <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.
|