NotePlan / NotePlan/plugins

Extending the various .insertParagraph... API calls

Open
#305 1 comment 0 reactions 1 assignee View on GitHub

@EduardMe is already working on this.

Since Jun 22, 2022.

API enhancement P-5
Dominant language
JavaScript
Stars
204
Forks
82
Avg merge
22h 27m
Merged PRs (30d)
3

Description

I'd like to request:

  1. Give a return value lineIndex to the many .insertParagraphBelow/Above…() set of calls. This would make it easier to add or change further paragraphs around the new one. (Or return some pointer to the newly-added paragraph object instead.)
  2. To .insertParagraph(name, lineIndex, type) add a further indent parameter.
  3. The 'name' parameter is really 'text'. Similarly with some of the other .insert… methods.

Happy to discuss.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.