docs: fix markdown linting

Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
Luca Di Maio
2022-07-18 07:43:39 +02:00
parent 77ea61985b
commit 9824687b18
3 changed files with 15 additions and 14 deletions
+6 -6
View File
@@ -1,10 +1,10 @@
- [Distrobox](../README.md)
- [Execute a command on the Host](execute_commands_on_host.md)
- [With distrobox-host-exec](#distrobox-host-exec)
- [Manually](#manually)
- [The easy one](#the-easy-one)
- [The not so easy one](#the-not-so-easy-one)
- [Execute a command on the host](#execute-a-command-on-the-host)
- [With distrobox-host-exec](#with-distrobox-host-exec)
- [Using symlinks](#using-symlinks)
- [Integrate host with container seamlessly](#integrate-host-with-container-seamlessly)
- [bash or zsh](#bash-or-zsh)
- [fish](#fish)
---
@@ -69,7 +69,7 @@ OS/Arch: linux/amd64
Another cool trick we can pull, is to use the handy `command_not_found_handle` function
to try and execute missing commands in the container on the host.
## bash / zsh
## bash or zsh
Place this in your `~/.profile`:
+8 -8
View File
@@ -1,11 +1,11 @@
- [Distrobox](../README.md)
- [Integrate VSCode and Distrobox](integrate_vscode_distrobox.md)
- [Integrate VSCode and Distrobox](#integrate-vscode-and-distrobox)
- [The easy one](#the-easy-one)
- [The not so easy one](#the-not-so-easy-one)
- [First step, install it](#first-step--install-it)
- [Second step, extensions](#second-step--extensions)
- [Third step, podman wrapper](#third-step--podman-wrapper)
- [Fourth step, configure the container](#fourth-step--configure-the-container)
- [First step, install it](#first-step-install-it)
- [Second step, extensions](#second-step-extensions)
- [Third step, podman wrapper](#third-step-podman-wrapper)
- [Fourth step, configure the container](#fourth-step-configure-the-container)
- [Final Result](#final-result)
---
@@ -60,7 +60,7 @@ to integrate VSCode installed via **Flatpak** with Distrobox.
Note that this integration process is inspired by the awesome project [toolbox-vscode](https://github.com/owtaylor/toolbox-vscode)
so many thanks to @owtaylor for the heavy lifting!
### First step, install it
### First step install it
```shell
~$ flatpak install --user app/com.visualstudio.code
@@ -72,7 +72,7 @@ Now we want to install VSCode [Remote Container extension](https://marketplace.v
![image](https://user-images.githubusercontent.com/598882/149207447-76a82e91-dd3f-43fa-8c52-9c2e85ae8fee.png)
### Third step, podman wrapper
### Third step podman wrapper
Being in a Flatpak, we will need access to host's `podman` (or `docker`) to be
able to use the containers. Place this in your `~/.local/bin/podman-host`
@@ -107,7 +107,7 @@ set it to the path of `podman-exec`, like in the example
This will give a way to execute host's container manager from within the
flatpak app.
### Fourth step, configure the container
### Fourth step configure the container
We need not to deploy a configuration for our container. We should create one for
each Distrobox we choose to integrate with VSCode:
+1
View File
@@ -1,3 +1,4 @@
<!-- markdownlint-disable MD010 MD051 -->
- [Distrobox](../README.md)
- [Outside the distrobox](#outside-the-distrobox)
- [distrobox-create](distrobox-create.md)