nextcloud / nextcloud/text

Insert file name as default heading for new markdown files

Open
#5,530 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Is your feature request related to a problem? Please describe.

As a Nextcloud user I often have to repeat the document title in the file name and the heading inside the document.

Describe the solution you'd like

When I create a file "Project plan.md", make the contents

# Project plan

Describe alternatives you've considered

N/a

Additional context

(MS) Office applications do this similarly where they take the document title as suggestion for the file name once you click Save.

This might need an opt-in.

Contributor guide

Open the contributing guide

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.

Research direction

The issue does not name files or tests. Start by tracing the flow for creating a new Markdown file and how editor preferences or opt-in settings are handled. Done means a new file named "Project plan.md" can open with the heading "# Project plan" while preserving the intended opt-in behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.