Writer
Object Hierarchy:
Description:
public class Writer : Object
Handles markdown output writing.
Content:
Creation methods:
Methods:
- public void append (string str)
Append string to markdown. Splits on newlines if needed and calls
append_chars.
- public void append_repeat (string str, int amount)
Repeat string amount times.
- public void clean_up_markdown ()
Post-process markdown to clean it up. Note: Newline filtering is now
handled during append, so this only does HTML entity conversion and text replacements.
- public bool replace_previous_space_in_line_by_newline ()
Replace last space with newline.
- public void reset ()
Reset writer state.
- public Writer shorten (int chars)
Remove characters from end of markdown.
- public string to_string ()
Get the markdown string.
- public Writer update_prev_ch ()
Update previous character tracking.
Fields:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref