Download the PHP package schumacherfm/markdown without Composer

On this page you can find all versions of the php package schumacherfm/markdown. 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 markdown

Magento: Mage Markdown Module [M↓]

image

Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Full documentation of Markdown's syntax is available on John's Markdown page

[1] Will be maybe removed in future versions

Why do I need this?

Because you want to get rid of the TinyMCE and force your customer to use easy and limited syntax.

You can also edit your markdown text with external editors:

Mac OS X

All platforms

Windows

Mashable: 78 Tools for Writing and Previewing Markdown

Configuration

All options can be set per store view.

Every field which contains Markdown syntax must contain that detection tag otherwise it will not be parsed.

File upload via Drag'n'Drop works only if you click on the textarea field once. During drag mode a green border will show that file upload via Drag'n'Drop is available. If you do not see that border during a drag then there will be no file upload.

Demo Content: http://daringfireball.net/projects/markdown/syntax.text

Bugs

CSS in transactional emails

CSS is included in the transactional emails in their style tag. Maybe some mail providers removes that style tag or cannot render it. So maybe there has to be some transformation that the CSS will be added into each html tag attribute: style.

Developer Usage

Anywhere in a .phtml file you can access the renderer via:

If you need support for Magento Variables, including Images, you should render the original Magento output. For example, in catalog/product/view/description.phtml, one would use the following code to render markdown, including images and/or other Magento variables:

Catalog product and category description fields have already enabled the markdown feature in the backend. For the frontend you have to implement the above mentioned code.

CMS pages (instance of Mage_Cms_Model_Page) and blocks (instance of Mage_Cms_Block_Block and Mage_Cms_Block_Widget_Block) will be rendered automatically but only if the detection tag is present.

Magento Widgets and Variables will be automatically preserved and correctly rendered:

Configuring the Markdown parser for custom usage

Tips for parsing transactional emails with Markdown Extra

How to integrate markdown into my module?

...

Modifying the backend

You can add an event to the Markdown observer which generates the backend view.

Todo

Installation Instructions

  1. Install modman from https://github.com/colinmollenhour/modman
  2. Switch to Magento root folder
  3. modman init
  4. modman clone git://github.com/SchumacherFM/Magento-Markdown.git

Please read the great article from Vinai: Composer installation

About

History

2.2.1

2.2.0

2.1.1

2.1.0

2.0.2

2.0.1

2.0.0

1.4.2

1.4.1

1.4.0

1.3.0

1.2.0

1.1.0

1.0.0

Compatibility

There exists the possibility that this extension may work with pre-1.5 Magento versions.

Support / Contribution

Report a bug using the issue tracker or send us a pull request.

Instead of forking I can add you as a Collaborator IF you really intend to develop on this module. Just ask :-)

We work with: A successful Git branching model and Semantic Versioning 2.0.0

Licence BSD-3-Clause

Magento Markdown Implementation

Copyright (c) 2014 Cyrill (at) Schumacher dot fm

All rights reserved.

PHP Markdown Lib

reMarked.js

marked.js

highlight.js

Markdown Styles

beautify-html

EpicEditor

Based on Markdown

Copyright (c) 2003-2005 John Gruber

http://daringfireball.net/

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Backend preview rendering via:

Author

Cyrill Schumacher - My pgp public key

@SchumacherFM

Made in Sydney, Australia :-)

If you consider a donation please contribute to: http://www.seashepherd.org/


All versions of markdown with dependencies

PHP Build Version
Package Version
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 schumacherfm/markdown contains the following files

Loading the files please wait ....