From d04c0d862ea7de4163b1ada129ee1883f9993ea8 Mon Sep 17 00:00:00 2001 From: Oleg Shchavelev Date: Fri, 26 Apr 2024 00:03:48 +0300 Subject: [PATCH] docs: update booting text containers, issue #1 --- .vitepress/config.mts | 7 +++++++ docs/en/instalations/booting/index.md | 8 ++++++-- docs/instalations/booting/index.md | 8 ++++++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index d3a2ae3..2b1069d 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -196,6 +196,13 @@ export default defineConfigWithTheme({ }, }, markdown: { + container: { + tipLabel: 'TIPS', + warningLabel: 'WARNING', + dangerLabel: 'CAUTION', + infoLabel: 'NOTE', + detailsLabel: 'DETAILS' + }, config: (md) => { md.use(markdownimeline); }, diff --git a/docs/en/instalations/booting/index.md b/docs/en/instalations/booting/index.md index 5d46e54..a9caac2 100644 --- a/docs/en/instalations/booting/index.md +++ b/docs/en/instalations/booting/index.md @@ -21,7 +21,9 @@ dd if=spi.installer.img of=/dev/XXX bs=1M oflag=direct,sync status=progress - After writing the Tow-Boot image to the SD card, follow these steps: -**Note:** If you are not sure that the battery is fully charged, it is recommended to connect the phone to a power source. +::: info +If you are not sure that the battery is fully charged, it is recommended to connect the phone to a power source. +::: ### Installation process @@ -37,7 +39,9 @@ dd if=spi.installer.img of=/dev/XXX bs=1M oflag=direct,sync status=progress 8. After a while, the screen will turn on showing a blue color or directly load into the graphical installer interface. 9. In the graphical installer interface, select "Install Tow-Boot to SPI", connect the charger to the phone, and press the "Start installation" button. -**Note:** Erasing the storage before installation is not required. The erasing option can be used to remove Tow-Boot (or any other firmware installed in the SPI partition). +:::info +Erasing the storage before installation is not required. The erasing option can be used to remove Tow-Boot (or any other firmware installed in the SPI partition). +:::