| | | |
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="27b161b9-b4f5-4098-887a-8effa317197b"·name="c004e5ed-901d-4e39-925d-e667fdf03b12"·type="radio"> | |
112 | </input><label·class="tabbed-label"·for="27b161b9-b4f5-4098-887a-8effa317197b"> | 111 | <input·checked="checked"·id="4b312576-3e75-485d-8e80-abb2f3c63a50"·name="bad77c2f-0e82-4b05-83a3-8949dd2d6176"·type="radio"> |
| 112 | </input><label·class="tabbed-label"·for="4b312576-3e75-485d-8e80-abb2f3c63a50"> |
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="b55e2df5-90ab-4ce4-97d3-2b008188e141"·name="c004e5ed-901d-4e39-925d-e667fdf03b12"·type="radio"> | |
138 | </input><label·class="tabbed-label"·for="b55e2df5-90ab-4ce4-97d3-2b008188e141"> | 137 | <input·id="f7f42fc4-2caa-4316-be1c-d33d9282b826"·name="bad77c2f-0e82-4b05-83a3-8949dd2d6176"·type="radio"> |
| 138 | </input><label·class="tabbed-label"·for="f7f42fc4-2caa-4316-be1c-d33d9282b826"> |
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="d9889dbc-841d-428f-84ad-c83aa18740fa"·name="e26a590a-4789-41a5-a71b-9b37303dfd21"·type="radio"> | |
853 | </input><label·class="tabbed-label"·for="d9889dbc-841d-428f-84ad-c83aa18740fa"> | 852 | <input·checked="checked"·id="ff416226-82da-4581-bffb-7dc5c36b6e98"·name="45e6f349-f244-46ba-ae01-c19ed5cfbe8b"·type="radio"> |
| 853 | </input><label·class="tabbed-label"·for="ff416226-82da-4581-bffb-7dc5c36b6e98"> |
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="6a6cbaba-4877-41fc-a9ab-e8f388dd0bd5"·name="e26a590a-4789-41a5-a71b-9b37303dfd21"·type="radio"> | |
858 | </input><label·class="tabbed-label"·for="6a6cbaba-4877-41fc-a9ab-e8f388dd0bd5"> | 857 | <input·id="dea4995a-1d76-48a3-95dd-3f6337841a2b"·name="45e6f349-f244-46ba-ae01-c19ed5cfbe8b"·type="radio"> |
| 858 | </input><label·class="tabbed-label"·for="dea4995a-1d76-48a3-95dd-3f6337841a2b"> |
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="cecf8c56-a646-4685-b4b9-8b9d5fdfd245"·name="60accfad-bc23-4d71-bd61-1008ce6d0c18"·type="radio"> | |
865 | </input><label·class="tabbed-label"·for="cecf8c56-a646-4685-b4b9-8b9d5fdfd245"> | 864 | <input·id="14f70e76-ad5e-4f9d-b6ba-4a5de9211bfd"·name="4168c010-9345-423b-910c-ed594cf928f7"·type="radio"> |
| 865 | </input><label·class="tabbed-label"·for="14f70e76-ad5e-4f9d-b6ba-4a5de9211bfd"> |
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="fb7bc98e-f6a9-4bfd-bbf0-8242e491ff5f"·name="60accfad-bc23-4d71-bd61-1008ce6d0c18"·type="radio"> | |
872 | </input><label·class="tabbed-label"·for="fb7bc98e-f6a9-4bfd-bbf0-8242e491ff5f"> | 871 | <input·checked="checked"·id="00c929a8-4910-443c-bbb2-d3c9e6d8d037"·name="4168c010-9345-423b-910c-ed594cf928f7"·type="radio"> |
| 872 | </input><label·class="tabbed-label"·for="00c929a8-4910-443c-bbb2-d3c9e6d8d037"> |
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="3b27cfaa-88e4-40fb-ab7d-faea12c0c977"·name="df040158-e103-4d83-bbeb-ddfa64761221"·type="radio"> | |
888 | </input><label·class="tabbed-label"·for="3b27cfaa-88e4-40fb-ab7d-faea12c0c977"> | 887 | <input·checked="checked"·id="6e2e952b-742f-44a8-a870-89141d8bf65b"·name="dc154189-5b7b-4c93-b6fc-c5b3f5a7866f"·type="radio"> |
| 888 | </input><label·class="tabbed-label"·for="6e2e952b-742f-44a8-a870-89141d8bf65b"> |
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="4d97ebda-d75d-414c-bf09-774b7ca4ee7d"·name="df040158-e103-4d83-bbeb-ddfa64761221"·type="radio"> | |
897 | </input><label·class="tabbed-label"·for="4d97ebda-d75d-414c-bf09-774b7ca4ee7d"> | 896 | <input·id="794331c8-2a30-472f-9322-04a8d38676eb"·name="dc154189-5b7b-4c93-b6fc-c5b3f5a7866f"·type="radio"> |
| 897 | </input><label·class="tabbed-label"·for="794331c8-2a30-472f-9322-04a8d38676eb"> |
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="42385009-9eb6-4b24-9143-e0acb0ebec95"·name="df040158-e103-4d83-bbeb-ddfa64761221"·type="radio"> | |
905 | </input><label·class="tabbed-label"·for="42385009-9eb6-4b24-9143-e0acb0ebec95"> | 904 | <input·id="61528221-c72c-4050-be75-8e42c964a0cb"·name="dc154189-5b7b-4c93-b6fc-c5b3f5a7866f"·type="radio"> |
| 905 | </input><label·class="tabbed-label"·for="61528221-c72c-4050-be75-8e42c964a0cb"> |
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="9a483f30-c74e-47fa-8734-6c9313ab4437"·name="df040158-e103-4d83-bbeb-ddfa64761221"·type="radio"> | |
915 | </input><label·class="tabbed-label"·for="9a483f30-c74e-47fa-8734-6c9313ab4437"> | 914 | <input·id="46b2a6a3-3b5b-4aa7-a594-8e8b05a5786a"·name="dc154189-5b7b-4c93-b6fc-c5b3f5a7866f"·type="radio"> |
| 915 | </input><label·class="tabbed-label"·for="46b2a6a3-3b5b-4aa7-a594-8e8b05a5786a"> |
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="d39ebc41-8b0e-4ac5-95ab-f4a629948156"·name="df040158-e103-4d83-bbeb-ddfa64761221"·type="radio"> | |
923 | </input><label·class="tabbed-label"·for="d39ebc41-8b0e-4ac5-95ab-f4a629948156"> | 922 | <input·id="dd48d216-6cae-48fc-a99c-4a486d60bca6"·name="dc154189-5b7b-4c93-b6fc-c5b3f5a7866f"·type="radio"> |
| 923 | </input><label·class="tabbed-label"·for="dd48d216-6cae-48fc-a99c-4a486d60bca6"> |
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.
|