Copy and paste GDR Markdown in the field

Open
#74 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp

Research direction

Read ADR 0011 and the existing clipboard paths in the Avalonia field, then inspect SIL.TextEditing.Markdown from PR #73 to understand the run model conversion. Trace how current formats are written and selected on paste, and identify the host hook used by Motif's project-aware mappers. Done means Markdown is copied alongside existing formats and used on paste when no richer format is available, with a chosen format name and priority and no hard Markdig dependency in Avalonia if possible.

Written by the indexing model from the issue text.

Description

SIL.TextEditing.Markdown (PR #73) converts between the run model and GDR Markdown, but the field doesn't use it yet. Add a Markdown clipboard path: copy writes Markdown alongside the existing formats, and paste reads Markdown when no richer format is present, through a host hook so Motif can supply its project-aware mappers. Decide the clipboard format name and priority, and keep the Avalonia project free of a hard Markdig dependency if possible (ADR 0011).

Dominant language
C#
Stars
0
Forks
0
Avg merge
1h 43m
Merged PRs (30d)
43

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from sillsdev/SIL.TextEditing

All issues in sillsdev/SIL.TextEditing

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.