|
5 | 5 | IconCode, |
6 | 6 | IconCpu, |
7 | 7 | IconDeviceDesktop, |
| 8 | + IconEmacs, |
8 | 9 | IconHomebrew, |
9 | 10 | IconInfoCircle, |
10 | 11 | IconNix, |
@@ -200,6 +201,60 @@ cargo build --release`} |
200 | 201 |
|
201 | 202 | <div class="install-divider" /> |
202 | 203 |
|
| 204 | + {/* Emacs Package */} |
| 205 | + <section class="install-section"> |
| 206 | + <h2 class="install-section-title"> |
| 207 | + <IconEmacs class="install-icon" /> |
| 208 | + Emacs Package |
| 209 | + </h2> |
| 210 | + <p class="install-section-desc"> |
| 211 | + Open Markdown files in Arto directly from Emacs with the official{" "} |
| 212 | + <a |
| 213 | + href="https://github.com/arto-app/arto.el" |
| 214 | + target="_blank" |
| 215 | + rel="noopener noreferrer" |
| 216 | + > |
| 217 | + arto.el |
| 218 | + </a>{" "} |
| 219 | + package. |
| 220 | + </p> |
| 221 | + |
| 222 | + <h3 class="install-subsection-title">package-vc (Emacs 29+)</h3> |
| 223 | + <CodeBlock |
| 224 | + label="Emacs" |
| 225 | + code={`(package-vc-install "https://github.com/arto-app/arto.el")`} |
| 226 | + /> |
| 227 | + |
| 228 | + <h3 class="install-subsection-title-spaced"> |
| 229 | + use-package with vc (Emacs 30+) |
| 230 | + </h3> |
| 231 | + <CodeBlock |
| 232 | + label="init.el" |
| 233 | + code={`(use-package arto |
| 234 | + :vc (:url "https://github.com/arto-app/arto.el"))`} |
| 235 | + /> |
| 236 | + |
| 237 | + <h3 class="install-subsection-title-spaced">Manual</h3> |
| 238 | + <CodeBlock |
| 239 | + label="init.el" |
| 240 | + code={`(add-to-list 'load-path "/path/to/arto.el") |
| 241 | +(require 'arto)`} |
| 242 | + /> |
| 243 | + |
| 244 | + <div class="install-note-spaced"> |
| 245 | + <p class="install-note-title"> |
| 246 | + <IconInfoCircle size={16} stroke={2} /> |
| 247 | + Requirements |
| 248 | + </p> |
| 249 | + <p class="install-note-text"> |
| 250 | + Requires Emacs 27.1+ and Arto v0.15.0+ installed at{" "} |
| 251 | + <code>/Applications/Arto.app</code>. |
| 252 | + </p> |
| 253 | + </div> |
| 254 | + </section> |
| 255 | + |
| 256 | + <div class="install-divider" /> |
| 257 | + |
203 | 258 | {/* System Requirements */} |
204 | 259 | <section class="install-section"> |
205 | 260 | <h2 class="install-section-title"> |
|
0 commit comments