Can't publish my plugin

Bug report

Trying to publish a new plugin:

But got this:

% ipm publish major                    
(node:38306) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Registering style-override ✗
Registering package in moyicat/inkdrop-style-override repository failed: Failed to fetch Request failed with status code 404

Not sure why it’s trying to fetch the readme from that path and why it failed. It is a public repo.

I’m on a new mac and definitely have forgotten how I did it last time :joy:

The other fields in the bug reporting template seems irrelevant.

Hi Samantha,

Thank you for reporting! Cool to see your new plugin :smiley:
Inkdrop tries to retrieve the plugin’s to create the plugin page.
But it fails because the URL is case-sensitive. You have
I guess I should call the GitHub API instead of directly accessing the URL.

1 Like

Gotcha! I copied everything but hand-created the file :joy:

Published now :beers: see it as my subtle hint of why can’t I set font family in the “Preview” settings page just like the “Editing” page … but hey it’s pretty cool that it’s so easy to add variables for plugins.

That’s because preview themes specify the font-family:

But now people can override it with your plugin.