UNPKG

remarkable-external-link

Version:

Remarkable plugin that adds `target` and `rel` attributes on external links. Also, provide ability to insert text/html inside and/or outside a link.

55 lines (54 loc) 1.67 kB
{ "name": "remarkable-external-link", "description": "Remarkable plugin that adds `target` and `rel` attributes on external links. Also, provide ability to insert text/html inside and/or outside a link.", "version": "2.2.1", "main": "index.js", "types": "types/index.d.ts", "files": [ "LICENSE", "index.js", "runkitExample.js", "types/index.d.ts" ], "scripts": { "build": "rm -f index.js && tsc", "lint": "eslint .", "lint:js": "eslint . --ext .js", "lint:ts": "eslint . --ext .ts", "test": "npm run test:link && npm run test:link-text && npm run test:tsd", "test:link": "mocha test/link.js", "test:link-text": "mocha test/link-text.js", "test:tsd": "npx tsd" }, "repository": { "type": "git", "url": "https://github.com/samiahmedsiddiqui/remarkable-external-link.git" }, "keywords": [ "remarkable", "plugin", "external-link", "docusaurus-external-link" ], "author": "Sami Ahmed Siddiqui <sami.siddiqui@yasglobal.com> (https://www.yasglobal.com/)", "license": "MIT", "bugs": { "url": "https://github.com/samiahmedsiddiqui/remarkable-external-link/issues" }, "homepage": "https://github.com/samiahmedsiddiqui/remarkable-external-link#readme", "runkitExampleFilename": "runkitExample.js", "dependencies": { "detect-external-link": "1.0.2" }, "devDependencies": { "@types/node": "20.4.4", "@types/remarkable": "2.0.3", "@typescript-eslint/eslint-plugin": "6.2.0", "@typescript-eslint/parser": "6.2.0", "eslint": "8.45.0", "mocha": "10.2.0", "remarkable": "2.0.1", "tsd": "0.28.1", "typescript": "5.1.6" } }