AdaCore / AdaCore/learn

code widget contains many blank lines

Open
#405 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement website infrastructure
Dominant language
Ada
Stars
117
Forks
49
Avg merge
44m
Merged PRs (30d)
8

Description

The size of the widget used to display compilable code does not always fit the code it contains, sometimes it has a huge number of blank lines, see e.g. the third widget on the page:

https://learn.adacore.com/labs/intro-to-ada/chapters/imperative_language.html

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

Open the linked Intro to Ada page and inspect the third code widget, which is reported to contain excessive blank lines. Trace how that widget determines its displayed size; done means the widget fits the compilable code without a large empty area.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.