silverbullet/plugs/index
Patrik Stenmark 64c36f9d4c
Pre-fill new page name with heading (#744)
When extracting a page, this will check if the first line is a markdown
heading. If it is, it will be used as a default name in the prompt
asking for a page name.

This uses a regular expression to check for a heading. It seemed a bit
overkill to do a full markdown parsing for this specific check.
2024-02-23 18:27:03 +01:00
..
anchor.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
api.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
attributes.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
builtins.ts Add table to builtins 2024-02-23 10:21:13 +01:00
command.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
constants.ts Fixes #98 2024-01-25 10:17:42 +01:00
data.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
header.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
index.plug.yaml Fixes #713 2024-02-23 13:54:29 +01:00
item.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
lint.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
page.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
page_links.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
paragraph.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
plug_api.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
refactor.ts Pre-fill new page name with heading (#744) 2024-02-23 18:27:03 +01:00
script.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
snippet.test.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
table.ts Add table to builtins 2024-02-23 10:21:13 +01:00
tag_page.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
tags.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
toc.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00
widget.ts Giant code reorganization (#690) 2024-02-08 21:00:45 +01:00