From b92ab3ebef3d0aab9a3a24b8971d9439bb7eb853 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Tue, 14 May 2024 10:26:42 -0400 Subject: [PATCH] Rename package to @nasa-gcn/afm --- README.md | 8 ++++---- package-lock.json | 6 +++--- package.json | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 354a5ca..bff1058 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# remark-rehype-astro-cli +# Astro Flavored Markdown This is a command-line tool to render Astro Flavored Markdown documents to JSON abstract syntax trees or HTML. Astro Flavored Markdown is a dialect of [Markdown](https://www.markdownguide.org) for rapid astronomy communications. Astro Flavored Markdown detects and enriches dates, times, sky coordinates, and bibliographic references in text. @@ -7,7 +7,7 @@ This command-line interface is a thin wrapper around [remark-rehype-astro](https ## Usage ``` -Usage: remark-rehype-astro-cli [options] [input] +Usage: afm [options] [input] Render Astro Flavored Markdown as a JSON syntax tree or as HTML @@ -37,7 +37,7 @@ Here is a table: To render as a JSON syntax tree: ``` -$ npx remark-rehype-astro-cli example.md +$ npx afm example.md { "type": "root", "children": [ @@ -126,7 +126,7 @@ $ npx remark-rehype-astro-cli example.md To render as HTML: ``` -$ npx remark-rehype-astro-cli --html example.md +$ npx afm --html example.md

Example

Here is a table:

diff --git a/package-lock.json b/package-lock.json index 39ca0c7..a577780 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@nasa-gcn/remark-rehype-astro-cli", + "name": "@nasa-gcn/afm", "version": "1.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@nasa-gcn/remark-rehype-astro-cli", + "name": "@nasa-gcn/afm", "version": "1.1.1", "license": "Apache-2.0", "dependencies": { @@ -20,7 +20,7 @@ "unist-util-remove-position": "^5.0.0" }, "bin": { - "remark-rehype-astro-cli": "index.js" + "afm": "index.js" }, "devDependencies": { "@nasa-gcn/eslint-config-gitignore": "^0.0.1", diff --git a/package.json b/package.json index 873628f..fa20450 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "@nasa-gcn/remark-rehype-astro-cli", + "name": "@nasa-gcn/afm", "version": "1.1.1", "description": "Command-line tool to render Astro Flavored Markdown documents to JSON abstract syntax trees or HTML", "main": "index.js", "bin": { - "remark-rehype-astro-cli": "index.js" + "afm": "index.js" }, "scripts": { "prepare:husky": "husky install", @@ -14,7 +14,7 @@ }, "repository": { "type": "git", - "url": "github:nasa-gcn/remark-rehype-astro-cli" + "url": "github:nasa-gcn/afm" }, "license": "Apache-2.0", "keywords": [],