Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add markdown file template#8701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
matthiasblaesing merged 1 commit intoapache:masterfrommakiam:markdown-template
Aug 7, 2025

Conversation

@makiam
Copy link
Contributor

@makiammakiam commentedAug 1, 2025
edited by matthiasblaesing
Loading

Markdown template file with formatting tags showcase

@makiam
Copy link
ContributorAuthor

Refers to@6020

@mbienmbien linked an issueAug 1, 2025 that may beclosed by this pull request
@mbienmbien added Editor ci:dev-build[ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labelsAug 1, 2025
@mbienmbien added this to theNB28 milestoneAug 1, 2025
Copy link
Contributor

@matthiasblaesingmatthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you.

Please check your author settings for commits, the email looks fine, the realname looks like a nick. It would be great if you could make the suggested change, squash the commit into one and update the author info while doing that.

* specific language governing permissions and limitations
* under the License.
*/
@TemplateRegistration(folder="Other",content="resources/Template.md",displayName="Markdown File",description="resources/Template.html",position=500)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Please addrequireProject = false, Markdown files will work fine outside projects.

@matthiasblaesing
Copy link
Contributor

@makiam thanks for the update. Could you please recheck the author (see "From:" line here:https://github.com/apache/netbeans/pull/8701.patch).

See for example:https://betterstack.com/community/questions/how-to-change-commit-author-for-single-commit/

@matthiasblaesing
Copy link
Contributor

@makiam I missed that on the first pass: the template file has no license header (and in this case can't carry one). For that case there needs to be an information added toide/markdown/licenseinfo.xml:

    <fileset>        <file>src/org/netbeans/modules/markdown/resources/Template.md</file>        <license ref="Apache-2.0-ASF" />        <comment type="TEMPLATE_MINIMAL_IP" />    </fileset>

Seehttps://github.com/apache/netbeans/blob/master/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/licenseinfo/CommentType.java#L22. That is evaluated by theant rat run, which checks all files, that are not excluded, for valid license headers.

Signed-off-by: Maksim Khramov <maxtemplaar@gmail.com>
@matthiasblaesingmatthiasblaesing merged commitb1c8fc7 intoapache:masterAug 7, 2025
31 checks passed
@matthiasblaesing
Copy link
Contributor

@makiam thank you - merged into master and so this will become part of NB28.

@makiammakiam deleted the markdown-template branchAugust 7, 2025 18:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@matthiasblaesingmatthiasblaesingmatthiasblaesing left review comments

Assignees

No one assigned

Labels

ci:dev-build[ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page)Editor

Projects

None yet

Milestone

NB28

Development

Successfully merging this pull request may close these issues.

[Markdown] Add CodeTemplate

3 participants

@makiam@matthiasblaesing@mbien

[8]ページ先頭

©2009-2025 Movatter.jp