Skip to content

Commit

Permalink
📍[main/README] Fix Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepymalc committed Jul 25, 2023
1 parent ab5d0b1 commit 8938ac7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ We'll need [Karabiner Elements](https://karabiner-elements.pqrs.org)' [Complex M
<div align="center">
<img width="80%" src="demo/figures/sourcecode-1.png"/>
</div>
2. Copy [`inkscape.json`](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/main/Inkscape-setting/Inkscape-shortcut-manager/inkscape.json) into `.config/karabiner/assets/complex_modifications`.
2. Copy [`Inkscape.json`](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/main/Inkscape-setting/Inkscape-shortcut-manager/Inkscape.json) into `.config/karabiner/assets/complex_modifications`.
<div align="center">
<img width="80%" src="demo/figures/sourcecode-2.png"/>
</div>
Expand All @@ -643,22 +643,22 @@ We'll need [Karabiner Elements](https://karabiner-elements.pqrs.org)' [Complex M
<img width="80%" src="demo/figures/sourcecode-4.png"/>
</div>
If you're interested in how [`inkscape.json`](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/main/Inkscape-setting/Inkscape-shortcut-manager/inkscape.json) is created, see the following.
If you're interested in how [`Inkscape.json`](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/main/Inkscape-setting/Inkscape-shortcut-manager/Inkscape.json) is created, see the following.
<details>
<summary><b>Detail Explanation</b></summary>
The [`inkscape.json`](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/main/Inkscape-setting/Inkscape-shortcut-manager/inkscape.json) is created by using a [`jsonnet`](https://jsonnet.org) file. The file can be found [here](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/main/Inkscape-setting/Inkscape-shortcut-manager/karabiner-inkscape.jsonnet),
The [`Inkscape.json`](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/main/Inkscape-setting/Inkscape-shortcut-manager/Inkscape.json) is created by using a [`jsonnet`](https://jsonnet.org) file. The file can be found [here](https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/main/Inkscape-setting/Inkscape-shortcut-manager/karabiner-Inkscape.jsonnet),
<https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/a17854a83bb1c42d6ecfac6299bdccd02cedb388/Inkscape-setting/Inkscape-shortcut-manager/karabiner-inkscape.jsonnet#L1-L39>
<https://github.com/sleepymalc/VSCode-LaTeX-Inkscape/blob/a17854a83bb1c42d6ecfac6299bdccd02cedb388/Inkscape-setting/Inkscape-shortcut-manager/karabiner-Inkscape.jsonnet#L1-L39>
and the `jsonnet` tool can be installed via `> brew install jsonnet`.
Converting the `jsonnet` file into the `json` file for [Karabiner Elements](https://karabiner-elements.pqrs.org/) can be done as follows
```sh
> jsonnet karabiner-inkscape.jsonnet > ~/.config/karabiner/assets/complex_modifications/karabiner-inkscape.json
> jsonnet karabiner-Inkscape.jsonnet > ~/.config/karabiner/assets/complex_modifications/karabiner-Inkscape.json
```
</details>
Expand Down

0 comments on commit 8938ac7

Please sign in to comment.