Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kbd description in gdextension docs system. #9996

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions tutorials/scripting/gdextension/gdextension_docs_system.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ Currently they supported tags for the GDExtension documentation system are:
- ``[s]{text}[/s]``

* - | **kbd**
| Makes ``{text}`` use the mono font and styles the text color and background like a shortcut.
| Makes ``{text}`` use a grey beveled background, indicating a keyboard shortcut.

- ``[code]{text}[/code]``
- ``[kbd]{text}[/kbd]``

* - | **code**
| Makes inline ``{text}`` use the mono font and styles the text color and background like code.
Expand All @@ -142,9 +142,7 @@ Currently they supported tags for the GDExtension documentation system are:
- ``[center]{text}[/center]``

* - | **url**
| Creates a hyperlink (underlined and clickable text). Can contain optional
``{text}`` or display ``{link}`` as is.
| **Must be handled with the "meta_clicked" signal to have an effect,** see :ref:`doc_bbcode_in_richtextlabel_handling_url_tag_clicks`.
| Creates a hyperlink (underlined and clickable text). Can contain optional ``{text}`` or display ``{link}`` as is.

- | ``[url]{link}[/url]``
| ``[url={link}]{text}[/url]``
Expand Down