README: Add drawers to installation instructions
This commit is contained in:
parent
b2a01b8d65
commit
6e4d95a70a
1 changed files with 12 additions and 3 deletions
15
README.org
15
README.org
|
@ -45,19 +45,25 @@ GPTel is on MELPA. Install it with =M-x package-install⏎= =gptel=.
|
||||||
|
|
||||||
(Optional: Install =markdown-mode=.)
|
(Optional: Install =markdown-mode=.)
|
||||||
|
|
||||||
|
#+html: <details><summary>
|
||||||
**** Straight
|
**** Straight
|
||||||
|
#+html: </summary>
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(straight-use-package 'gptel)
|
(straight-use-package 'gptel)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Installing the =markdown-mode= package is optional.
|
Installing the =markdown-mode= package is optional.
|
||||||
|
#+html: </details>
|
||||||
|
#+html: <details><summary>
|
||||||
**** Manual
|
**** Manual
|
||||||
|
#+html: </summary>
|
||||||
Clone or download this repository and run =M-x package-install-file⏎= on the repository directory.
|
Clone or download this repository and run =M-x package-install-file⏎= on the repository directory.
|
||||||
|
|
||||||
Installing the =markdown-mode= package is optional.
|
Installing the =markdown-mode= package is optional.
|
||||||
|
#+html: </details>
|
||||||
|
#+html: <details><summary>
|
||||||
**** Doom Emacs
|
**** Doom Emacs
|
||||||
|
#+html: </summary>
|
||||||
In =packages.el=
|
In =packages.el=
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(package! gptel)
|
(package! gptel)
|
||||||
|
@ -69,12 +75,15 @@ In =config.el=
|
||||||
:config
|
:config
|
||||||
(setq! gptel-api-key "your key"))
|
(setq! gptel-api-key "your key"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
#+html: </details>
|
||||||
|
#+html: <details><summary>
|
||||||
**** Spacemacs
|
**** Spacemacs
|
||||||
|
#+html: </summary>
|
||||||
After installation with =M-x package-install⏎= =gptel=
|
After installation with =M-x package-install⏎= =gptel=
|
||||||
|
|
||||||
- Add =gptel= to =dotspacemacs-additional-packages=
|
- Add =gptel= to =dotspacemacs-additional-packages=
|
||||||
- Add =(require 'gptel)= to =dotspacemacs/user-config=
|
- Add =(require 'gptel)= to =dotspacemacs/user-config=
|
||||||
|
#+html: </details>
|
||||||
|
|
||||||
** Usage
|
** Usage
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue