mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
15 lines
273 B
GDScript
15 lines
273 B
GDScript
extends TextEdit
|
|
|
|
|
|
func _ready():
|
|
var f : File = File.new()
|
|
|
|
var mdr : CustomMarkdownRenderer = CustomMarkdownRenderer.new()
|
|
mdr.render_type = MarkdownRenderer.RENDERER_TYPE_CUSTOM
|
|
|
|
f.open("res://TEST.md", File.READ)
|
|
|
|
text = mdr.render(f.get_as_text())
|
|
|
|
f.close()
|