radius-project / radius-project/docs

Suggestion: find a better way to indicate a partial code snippet

Open
#861 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug triaged
Dominant language
Bicep
Stars
26
Forks
52
Avg merge
3d 2h
Merged PRs (30d)
3

Description

Describe the bug

When we have a code snippet that's partial (showing changes to only part of a large file) we usually terminate the code snippet with ... or just omit the other parts of the file.

The suggestion is that we could find a way to show the rest of the code (collapsed by default) or to fade or pixelate the text of the sample that aren't the focus.

AB#9831

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

No files, tests, or entry points are identified in the issue. Start by locating how documentation code snippets are rendered, then define and test a collapsed, faded, or pixelated treatment for omitted code that clearly indicates the partial context.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.