https://github.com/madladsquad/untitledimguitextutils
A bunch of small utility functions to make marking down text in ImGui easier
https://github.com/madladsquad/untitledimguitextutils
cpp imgui utility utility-library
Last synced: about 2 months ago
JSON representation
A bunch of small utility functions to make marking down text in ImGui easier
- Host: GitHub
- URL: https://github.com/madladsquad/untitledimguitextutils
- Owner: MadLadSquad
- License: mit
- Created: 2023-01-07T11:34:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T22:20:12.000Z (3 months ago)
- Last Synced: 2025-04-11T06:14:01.570Z (about 2 months ago)
- Topics: cpp, imgui, utility, utility-library
- Language: C++
- Homepage: https://madladsquad.com/
- Size: 67.4 KB
- Stars: 22
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
Awesome Lists containing this project
README
# UntitledImGuiTextUtils
[](https://lbesson.mit-license.org/)
[](https://trello.com/b/HmfuRY2K/untitleddesktop)
[](https://discord.gg/4wgH8ZE)A bunch of small utility functions to make marking down text in ImGui easier. We have the following rendering features:
- [x] Bold
- [x] Italic
- [x] Bold Italic
- [x] Monospace
- [x] Small
- [x] Link
- [x] Underline
- [x] Strikethrough
- [x] Blockquote
- [x] Code blocks
- [x] Inline code
- [x] Subscript
- [x] Superscript
- [x] Highlighted text
- [x] Ruby text## Learning
All information can be found on the [wiki](https://github.com/MadLadSquad/UntitledImGuiTextUtils/wiki).## Showcase
### Easy typeface rendering
Rendering Normal, Bold, Italic, BoldItalic and Monospace text all in 5 lines of code:
### Underline, strikethrough, links and text highlighting
Rendering Underline, Strikethrough, Link and highlighted text with and without word wrapping, all with configurable colours:
### Blockquotes
Blockquotes, with an additional function to render only the rectangle to enable for nesting:
### Code blocks
Code blocks with monospaced text and custom background:
### Inline code
Inline code with monospaced text and custom background:
### Ruby annotations
Ruby annotations for use with logographic writing systems like Hanzi(Only `Kanji` is ruby text in this example):
### Subscripts and superscripts
Subscript and superscript text rendered in 1 function call, both starting from the same X position: