Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Tweaking `cli::col_h1()` styling

オープン
#696 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
r
領域
cli, documentation

調査の方向性

Start with the cli::cli_h1() and themes reference examples, then compare the documented behavior with cli::rule(left = "aa", right = "a", col = "yellow"). Clarify how the id and class arguments support custom theming, add examples for the requested styling, and ensure the documentation explains the expected output.

索引モデルが issue の本文から書いたものです。

説明

feature

I am wondering if it was possible to make this output with cli::cli_h1()

image

cli::cli_h1(cli::col_yellow("GP goodpractice"))

Almost does it, but it doesn't affect the line.

I tried playing with https://cli.r-lib.org/reference/themes.html#examples, but it doesn't really work.

I am wondering if docs could be enhanced generally for the id and class arguments. More examples on how to create custom theming of elements would be great!

I'd be happy to make some doc edits, but I can't figure out how things work at the moment..

Using cli::rule(left = "aa", right = "a", col = "yellow") works

主要言語
R
スター
730
フォーク
94
平均マージ
6日 16時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

r-lib/cli のほかの issue

r-lib/cli の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。