GRASS GIS 8 Programmer's Manual  8.5.0dev(2025)-060b32d572
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
parser_md.c File Reference

GIS Library - Argument parsing functions (Markdown output) More...

#include <stdio.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "parser_local_proto.h"
Include dependency graph for parser_md.c:

Go to the source code of this file.

Macros

#define MD_NEWLINE   " "
 
#define do_escape(c, escaped)
 Format text for Markdown output. More...
 

Functions

void print_option (const struct Option *opt)
 
void G__usage_markdown (void)
 Print module usage description in Markdown format. More...
 

Detailed Description

GIS Library - Argument parsing functions (Markdown output)

(C) 2012-2025 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Martin Landa

Definition in file parser_md.c.

Macro Definition Documentation

◆ do_escape

#define do_escape (   c,
  escaped 
)
Value:
case c: \
fputs(escaped, f); \
break

Format text for Markdown output.

Definition at line 332 of file parser_md.c.

◆ MD_NEWLINE

#define MD_NEWLINE   " "

Definition at line 21 of file parser_md.c.

Function Documentation

◆ G__usage_markdown()

void G__usage_markdown ( void  )

Print module usage description in Markdown format.

Definition at line 34 of file parser_md.c.

◆ print_option()

void print_option ( const struct Option opt)

Definition at line 222 of file parser_md.c.