Tags: Metastem/Scribe
Tags
Remove unused carbon shard which should fix build failures
Add unique ID to headings The `name` field on the `paragraph` type contains a unique ID for the paragraph. It's not guaranteed to be there, on images for example like in the `fd8d091ab8ef` post, but it's there for everything else I can find. This enables deep linking. There's no way to get to the deep link other than opening up the web console. I wanted to link every heading, but you can actually have links in part of a heading so that's not tenable. Maybe a "permalink" link next to every heading?
Update to nodejs 16.18.0 It was pretty old, but also it wasn't installing correctly on an Apple Silicon machine.
Updates to pre/code config This ensures that code blocks look good at all screen sizes.
Replace Redirector extension with LibRedirect Since Scribe launched, the Redirector extension config has needed occasional attention. Using regular expressions to cover all edge cases is difficult. After finding out that Scribe's current config can hang websites, I decided that [LibRedirect] is likely a more robust solution. It can rely on more than regular expressions, and is less work to set up. [LibRedirect]: https://libredirect.github.io/
Fix Redirector config escaped strings When printing out the configuration JSON, the Redirector extension expects regex escapes to be escaped, themselves. So `\` becomes `\\`. However, Crystal treats these as escaped character also, and each `\` must additionally be escaped, so a single slash becomes `\\\\`
Fix source code link Capitalize the `S` in `Scribe`. I don't have record of this ever needing to be capitalized before, but it clearly does not work.
PreviousNext