From a69b7190feca81b0f85d2619f609b18b364446ef Mon Sep 17 00:00:00 2001 From: Maxi Date: Wed, 10 Apr 2024 08:09:05 +0200 Subject: [PATCH] removed markdown plugin for callouts --- .vitepress/config.ts | 26 -------------------------- README.md | 2 +- build/nimiq-1.0/downloads.md | 12 ++++++++---- build/ui/design/icons.md | 6 +++--- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 6 files changed, 17 insertions(+), 39 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 5eed012..62916bd 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -69,32 +69,6 @@ export default async () => { markdown: { math: true, // Allow latex math - - // Add ::: goal|warning ::: custom markdown-it plugins - config: (md) => { - md.use(...[container, 'goal', { - render(tokens, idx) { - if (tokens[idx].nesting === 1) { - return ` -
-

Goal

- ` - } - else { return `
\n` } - }, - }]) - md.use(...[container, 'warning', { - render(tokens, idx) { - if (tokens[idx].nesting === 1) { - return ` -
-

Warning

- ` - } - else { return `
\n` } - }, - }]) - }, }, head: [ diff --git a/README.md b/README.md index 1423d53..c6c5c6e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Feel free to contribute if you want to improve any part of the docs. PRs all wel ```bash git clone https://github.com/nimiq/developer-center # Clone repo. You can also fork it and clone from your fork -cd nimiq-developer-center +cd developer-center pnpm install # Install pnpm first if you don't have it -> https://pnpm.io/installation pnpm dev # Start dev server ``` diff --git a/build/nimiq-1.0/downloads.md b/build/nimiq-1.0/downloads.md index 7df2fea..7b2c3a8 100644 --- a/build/nimiq-1.0/downloads.md +++ b/build/nimiq-1.0/downloads.md @@ -4,9 +4,11 @@ search: false # Downloads -::: warning + + This page describes the installation and usage of the precompiled packages linked below. For better performance, you might also consider to compile the miner [source code](https://github.com/nimiq/core-js) on the machine where it is intended to be used. -::: + + ## Packages @@ -59,9 +61,11 @@ For Microsoft Windows operating systems ## Configuration -::: warning + + To run a Nimiq Full Node and receive connections from other peers you need a valid domain name and SSL certificate. -::: + + The configuration file for Linux is located in `/etc/nimiq/nimiq.conf` diff --git a/build/ui/design/icons.md b/build/ui/design/icons.md index 97322ff..5d835e5 100644 --- a/build/ui/design/icons.md +++ b/build/ui/design/icons.md @@ -11,11 +11,11 @@ next: false ### Installing via NPM -::: warning + -Working on it at the moment +Work in Progress -::: + ### Copy per Icon diff --git a/package.json b/package.json index 55be592..4a68307 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "jszip": "^3.10.1", "markdown-it-mathjax3": "^4.3.2", "medium-zoom": "^1.1.0", - "nimiq-css": "^0.0.69", + "nimiq-css": "^0.0.70", "prettier": "^3.2.5", "radix-vue": "^1.6.2", "svg-packer": "^0.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6e0fb44..b6ac329 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ dependencies: specifier: ^1.1.0 version: 1.1.0 nimiq-css: - specifier: ^0.0.69 - version: 0.0.69(typescript@5.4.4)(unocss@0.59.0)(vite@5.2.3) + specifier: ^0.0.70 + version: 0.0.70(typescript@5.4.4)(unocss@0.59.0)(vite@5.2.3) prettier: specifier: ^3.2.5 version: 3.2.5 @@ -5176,8 +5176,8 @@ packages: resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} dev: true - /nimiq-css@0.0.69(typescript@5.4.4)(unocss@0.59.0)(vite@5.2.3): - resolution: {integrity: sha512-8WmM3sh60V3pd+8UUgwbsiiAxom0JKwV24UVBvLn1yfl5UQvDb1WrneuZVmyQo7CwHHAkUJ8/WrTpLMKYZjzVw==} + /nimiq-css@0.0.70(typescript@5.4.4)(unocss@0.59.0)(vite@5.2.3): + resolution: {integrity: sha512-D28XrRj8tUDam8SjM+POpJcz9F+3kmCerr0LZztMSbY6aLKbctCSIE5BGViMvIwy/nLOjq8/E3G+W5xZCSyOJg==} engines: {node: '>=14'} peerDependencies: typescript: ^5.0.0