micro-editor / micro-editor/micro

either automatic default extension, or automatic syntax

Open
#2,362 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Hi, I wondered if it was possible to have micro either add a default extension to all file text it creates, say .md, so by default it gets to highlight or more or less display) markdown hints ?
to get some form of rich text in a termlinal... something awfully difficult, even in 2022. Pfff...
Either that or could micro open all text files with that syntax mode, unless it sees more specific extensions (or ANY extension since my text files usually have none) ?

thanks for your help

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.

Research direction

The issue names no files, tests, or entry points. Start by reviewing how micro chooses syntax for newly created files, especially extensionless text files, and clarify whether the desired behavior is a default extension or automatic Markdown syntax. Done means one agreed behavior is implemented and its syntax-selection behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.