Skip to content

oisee/abap-markdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABAP Markdown

A Markdown parser in ABAP based on Parsedown

Features

  • Pure ABAP (version 7.30)
  • Fully tested with automated ABAPUnit test cases
  • Parses GitHub flavored Markdown

Motivation

Until the start of this project, there is no available Markdown parser in SAP.

This project started with the idea of creating a modern automated documentation tool for ABAP programs.

Installation

Install the ZMARKDOWN class as a global class.

Code Example

data(o_markdown) = new zmarkdown( ).

data(v_html) = o_markdown->text( 'Hello _ABAP Markdown_!' ).
write / v_html.

Tests

Inside the test directory you will find the zmarkdown_tests.abap file, containing the code for the local test classes.

Contributors

License

This code is distributed under the MIT License, meaning you can freely and unrestrictedly use it, change it, share it, distribute it and package it with your own programs as long as you keep the copyright notice, license and disclaimer.

Parsedown is copyright(c) 2013 Emanuil Rusev, erusev.com

Releases

No releases published

Packages

No packages published

Languages

  • ABAP 89.0%
  • HTML 9.2%
  • Python 1.8%