@scullyio/scully-plugin-docs-link-update

This is a helper plugin for people using the scully-content plugin with links to other markdown files If looks for the `[href]` attribute. If the link in there starts with `#` it will put the full route in front of it, so that links _inside_ the page star

Usage no npm install needed!

<script type="module">
  import scullyioScullyPluginDocsLinkUpdate from 'https://cdn.skypack.dev/@scullyio/scully-plugin-docs-link-update';
</script>

README

scully-plugin-docs-link-update

This is a helper plugin for people using the scully-content plugin with links to other markdown files If looks for the [href] attribute. If the link in there starts with # it will put the full route in front of it, so that links inside the page starts working when it's hosted. It also looks for relative links that end with .md and do not start with http. For those links it updates the url so it will contain an url relative to the page the link is on.

Getting Started

1. Install the plugin:

npm install -D @scullyio/scully-plugin-docs-link-update

2. Use the plugin:

TODO