# markup

- **İngilizce aslı:** https://wiki.facepunch.com/gmod/markup
- **Çeviri tarihi:** 2025-09-08

`markup` kütüphanesi, bir [MarkupObject](https://gmod.tr/wiki/MarkupObject) oluşturmak için yalnızca tek bir fonksiyon içerir.

## Metotlar

[string](https://gmod.tr/wiki/string) markup.[Color](https://gmod.tr/wiki/markup.Color)( [Color](https://gmod.tr/wiki/Color) col )

Bir `Color` nesnesini, işaretlemeye (markup) hazır metin temsiline dönüştüren pratik bir fonksiyondur.

[string](https://gmod.tr/wiki/string) markup.[Escape](https://gmod.tr/wiki/markup.Escape)( [string](https://gmod.tr/wiki/string) text )

Bir metni (string), kaçış karakterleri eklenmiş (escaped) ve işaretleme açısından güvenli (markup-safe) eşdeğerine dönüştürür.

[MarkupObject](https://gmod.tr/wiki/MarkupObject) markup.[Parse](https://gmod.tr/wiki/markup.Parse)( [string](https://gmod.tr/wiki/string) markup, [number](https://gmod.tr/wiki/number) maxWidth = nil )

İşaretlemeyi (markup) bir `MarkupObject`'e ayrıştırır. Şu anda bu, örnekte gösterildiği gibi yalnızca yazı tiplerini ve renkleri destekler. Bu fonksiyon çok yavaştır! Sonucunu daima önbelleğe alın

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/markup
