Skip to content

テキストのプログレスバーを入れる(%%progress%%) #21

Open

Description

@otnc

Summary

進捗をテキストのプログレスバーにして本文に入れる。

  • %%progress 7|10%%: 現在値と最大値がメイン引数。▓▓▓▓▓▓▓░░░ 7/10 (70%) のように置き換える

  • %%progress 70%%: 値が1つだけならパーセントとして扱う

  • width:20 で長さを、style: で見た目を選べるようにする(例: ブロック、丸、絵文字)

  • ボタン: 投稿フォームで値を入力し、バーをプレビューしてから入れる

  • 特殊記法 (ノート向け機能のためのサーバー側特殊記法(%%command%%) #6): 上のとおり

決めること:

  • 見た目の種類と既定値。等幅でないフォントでも崩れにくい文字を選ぶ
  • 範囲外の値(マイナスや最大値超え)の扱い

Purpose

作業や勉強の進捗報告にぴったり。テキストなので、連合先のどのサーバーでもそのまま見える。

Do you want to implement this feature yourself?

  • Yes, I will implement this by myself and send a pull request

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions