From b3be6a9b70efd4c84eb8fd93c7d3f4ee67f30e9b Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 5 Aug 2024 10:57:35 +0200 Subject: [PATCH] Refactor docs --- readme.md | 125 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 65 insertions(+), 60 deletions(-) diff --git a/readme.md b/readme.md index 2f3b1a7..34eafb3 100644 --- a/readme.md +++ b/readme.md @@ -1,9 +1,9 @@ # emoticon -[![Build][build-badge]][build] -[![Coverage][coverage-badge]][coverage] -[![Downloads][downloads-badge]][downloads] -[![Size][size-badge]][size] +[![Build][badge-build-image]][badge-build-url] +[![Coverage][badge-coverage-image]][badge-coverage-url] +[![Downloads][badge-downloads-image]][badge-downloads-url] +[![Size][badge-size-image]][badge-size-url] List of emoticons. @@ -35,20 +35,20 @@ for example to figure out which text emoticons map to what emoji. ## Install -This package is [ESM only][esm]. -In Node.js (version 14.14+, 16.0+), install with [npm][]: +This package is [ESM only][github-gist-esm]. +In Node.js (version 14.14+), install with [npm][npm-install]: ```sh npm install emoticon ``` -In Deno with [`esm.sh`][esmsh]: +In Deno with [`esm.sh`][esm-sh]: ```js import {emoticon} from 'https://esm.sh/emoticon@4' ``` -In browsers with [`esm.sh`][esmsh]: +In browsers with [`esm.sh`][esm-sh]: ```html