Have been trying to use the remarkable.js within my application without much success.
script.js
import { Remarkable } from 'remarkable';
var md = new Remarkable();
index.html
<script src="https://cdn.jsdelivr.net/remarkable/1.7.1/remarkable.min.js"></script>
<script type="module" src="js/script.js"></script>
The error is
TypeError: Failed to resolve module specifier "remarkable". Relative references must start with either "/", "./", or "../".