shortFormImageId(href: string): number | undefined
The id one short-form image address (img#7) names, or undefined for any
other address. The editor's image dropdown writes the short form. The HTML
render and the plain-text rewrite both resolve it.
Parameters
href: string
Return Type
number | undefined
Usage
import { shortFormImageId } from "docs/utilities.ts";