silverbullet/plug-api
Semyon Novikov 09e7f1f906
Fix up validatePageName routine (#912)
* Fix up validatePageName routine

File extensions can contain numbers too.
My main motivation was to enable myself hosting `woff2` files right from
my space, like I do for `ttf` files.

Also added some tests.

* Fix up typo and add more numeric samples

* Add missing semicolons

(sorry, I'm not really js/ts programmer)

* Make linter happy
2024-07-03 07:50:26 +02:00
..
lib Fix up validatePageName routine (#912) 2024-07-03 07:50:26 +02:00
syscalls Delete line command (#866) 2024-05-25 23:12:48 +02:00
README.md Delete line command (#866) 2024-05-25 23:12:48 +02:00
syscall.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
syscalls.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
types.ts Index []() style links (#827) 2024-05-27 20:33:41 +02:00

README.md

This folder contains two things:

  • Wrappers for syscalls to be used by Plugs
  • Reusable library code that plugs may find useful