photon/template-markdown 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

photon/template-markdown

最新稳定版本:v1.1.2

Composer 安装命令:

composer require photon/template-markdown

包简介

Markdown parser for Photon template engine

README 文档

README

Build Status

Template tag to filter Markdown text to HTML

Quick start

  1. Add the module in your project

    composer require "photon/template-markdown:dev-master"

or for a specific version

composer require "photon/template-markdown:1.0.0"
  1. Add the Tag and the Modifier in your template engine configuration

    'template_tags' => array( 'Markdown' => '\photon\template\tag\Markdown', ), 'template_modifiers' => array( 'Markdown' => '\Michelf\MarkdownExtra::defaultTransform', ),

  2. Write some template

    {$mdtext|Markdown|safe}

or

{Markdown $mdtext}
  1. Enjoy

统计信息

  • 总下载量: 1.27k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 1
  • 开发语言: Shell

其他信息

  • 授权协议: LGPL-2.1
  • 更新时间: 2014-11-14