fplotlib_markdown module#
fplotlib_markdown (module)#
Types
md_ctx_t (type)#
-
md_ctx_t (type) - Attributes:
- leftreal(kind=dp), Default = 0.0_dp
- rightreal(kind=dp), Default = 0.0_dp
- aligninteger, Default = ALIGN_JUSTIFY
- sizereal(kind=dp), Default = 10.0_dp
- colorinteger, Default = 0
- boldlogical, Default = .false.
- italiclogical, Default = .false.
- indentlogical, Default = .true.
md_directive_t (type)#
-
md_directive_t (type) - Attributes:
- namecharacter(len=:), allocatable
- argcharacter(len=:), allocatable
- optscharacter(len=:), allocatable
- bodycharacter(len=:), allocatable
md_heading_t (type)#
-
md_heading_t (type) - Attributes:
- levelinteger, Default = 0
- textcharacter(len=:), allocatable
- numcharacter(len=:), allocatable
md_figure_t (type)#
-
md_figure_t (type) - Attributes:
- namecharacter(len=:), allocatable
- frametype(frame_t)
md_document_t (type)#
-
md_document_t (type) - Attributes:
- enginetype(typeset_context_t)
Procedures
md_option (function)#
-
function md_option(opts, key) -> val - Arguments:
- optscharacter(len=*), intent(in)
- keycharacter(len=*), intent(in)
- Returns:
- valcharacter(len=:), allocatable
md_meta (function)#
-
recursive function md_meta(doc, key) -> val - Arguments:
- doctype(md_document_t), intent(in)
- keycharacter(len=*), intent(in)
- Returns:
- valcharacter(len=:), allocatable
md_base_size (function)#
-
recursive function md_base_size(doc) -> md_base_size - Arguments:
- doctype(md_document_t), intent(in)
- Returns:
- md_base_sizereal(kind=dp)
md_length (function)#
-
recursive function md_length(doc, v, size) -> md_length - Arguments:
- doctype(md_document_t), intent(in)
- vcharacter(len=*), intent(in)
- sizereal(kind=dp), intent(in)
- Returns:
- md_lengthreal(kind=dp)
md_color (function)#
-
function md_color(v, dflt) -> md_color - Arguments:
- vcharacter(len=*), intent(in)
- dfltinteger, intent(in)
- Returns:
- md_colorinteger
md_align (function)#
-
function md_align(v, dflt) -> md_align - Arguments:
- vcharacter(len=*), intent(in)
- dfltinteger, intent(in)
- Returns:
- md_aligninteger
md_typeset (subroutine)#
-
recursive subroutine md_typeset(doc, text, on_directive, on_body, on_heading, base_dir, figures) - Arguments:
- doctype(md_document_t), intent(inout)
- textcharacter(len=*), intent(in)
- on_directiveprocedure(md_directive_cb), optional
- on_bodyprocedure(md_body_cb), optional
- on_headingprocedure(md_heading_cb), optional
- base_dircharacter(len=*), intent(in), optional
- figurestype(md_figure_t), intent(in), optional, dimension(:)
md_typeset_files (subroutine)#
-
recursive subroutine md_typeset_files(doc, texts, dirs, on_directive, on_body, on_heading, figures) - Arguments:
- doctype(md_document_t), intent(inout)
- textscharacter(len=*), intent(in), dimension(:)
- dirscharacter(len=*), intent(in), dimension(:)
- on_directiveprocedure(md_directive_cb), optional
- on_bodyprocedure(md_body_cb), optional
- on_headingprocedure(md_heading_cb), optional
- figurestype(md_figure_t), intent(in), optional, dimension(:)
md_typeset_box (subroutine)#
-
recursive subroutine md_typeset_box(text, width, frame, fontsize, align, color, bg_color, border_color, border_width, alpha, pad, radius) - Arguments:
- textcharacter(len=*), intent(in)
- widthreal(kind=dp), intent(in)
- frametype(frame_t), intent(out)
- fontsizereal(kind=dp), intent(in), optional
- aligncharacter(len=*), intent(in), optional
- colorcharacter(len=*), intent(in), optional
- bg_colorcharacter(len=*), intent(in), optional
- border_colorcharacter(len=*), intent(in), optional
- border_widthreal(kind=dp), intent(in), optional
- alphareal(kind=dp), intent(in), optional
- padreal(kind=dp), intent(in), optional
- radiusreal(kind=dp), intent(in), optional
md_blocks (subroutine)#
-
recursive subroutine md_blocks(doc, body, ctx) - Arguments:
- doctype(md_document_t), intent(inout)
- bodycharacter(len=*), intent(in)
- ctxtype(md_ctx_t), intent(in)
md_inline (subroutine)#
-
recursive subroutine md_inline(doc, text, ctx) - Arguments:
- doctype(md_document_t), intent(inout)
- textcharacter(len=*), intent(in)
- ctxtype(md_ctx_t), intent(in)
md_noindent (subroutine)#
-
recursive subroutine md_noindent(doc, flag) - Arguments:
- doctype(md_document_t), intent(inout)
- flaglogical, intent(in)