Download the PHP package ckunkle/markdownwriter without Composer

On this page you can find all versions of the php package ckunkle/markdownwriter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package markdownwriter

Markdown Writer

PHP Tag License

Description

A library for generating markdown using PHP. This library provides a class for building markdown following the CommonMark specification. It also provides support for some common extensions including:

Intallation

Example Usage

For a more elaborate example, view the script that generated this README file.

API

Inline Methods

Methods that transform input to return a formatted markdown string

italic

Format italic string

bold

Format bold string

superscript

Format superscript

subscript

Format subscript

code

Format inline code

strikethrough

Format strikethrough

link

Format an inline link

image

Format an inline image

Block Methods

Methods that write to the markdown result

write

Append string to the markdown result

block

Write an EOL string if the markdown result is not empty, write the provided string, then write another EOL string. This keeps blank lines between consecutive block elements.

p

Writes a paragraph to the markdown result making sure that there are blank lines before and after.

nl

Appends an EOL string to the markdown result

h1

Write a header 1

h2

Write a header 2

h3

Write a header 3

h4

Write a header 4

h5

Write a header 5

h6

Write a header 6

hr

Write a horizontal rule

ulItem

Write an unordered list item. Optionally provide the number of tabs to prepend to it

olItem

Write an ordered list item. Optionally provide the number of tabs to prepend to it and the string to prepend it with (defaults to 1)

ul

Write an unordered list. Use nested arrays to indicate nesting sublists.

ol

Write an ordered list. Use nested arrays to indicate nesting sublists.

blockQuote

Write a blockquote. This supports a few different syntaxes:

codeBlock

Write a "fenced" code block. Accepts a string or array of lines. Optionally pass a language for syntax highlighting as the second parameter.

table

Write a table. This expects an array of arrays where the first array is the header row, and the following arrays represent table rows.

Configuration/Misc

All other methods

setEOL

Set the EOL string. By default this is set to PHP_EOL

eol

Get the EOL string

__toString

Returns the markdown result string


All versions of markdownwriter with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ckunkle/markdownwriter contains the following files

Loading the files please wait ....