A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
- Headers
- Links
- Bold
| import 'dart:math' as math; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'package:flutter/widgets.dart'; | |
| /// Signature for a function that creates a [TileSize] for a given index. | |
| typedef TileSize IndexedTileSizeBuilder(int index); | |
| /// Creates grid layouts with a fixed number of spans in the cross axis. |
| Title | URI | |
|---|---|---|
| Flurry by Yahoo | https://dev.flurry.com/secure/signup.do | |
| Google NikCollection | https://dl.google.com/edgedl/photos/nikcollection-full-1.2.11.dmg | |
| Bitbucket | http://bitbucket.org/ | |
| SoftLayer | http://softlayer.com/ | |
| VirtualBox | http://download.virtualbox.org/virtualbox/5.0.16/VirtualBox-5.0.16-105871-OSX.dmg | |
| Docker Hub | https://hub.docker.com/ | |
| Oracle | http://oracle.com/ | |
| Java | http://java.com | |
| Sun | http://sun.com |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
| <?php | |
| /** | |
| * Turn all URLs in clickable links. | |
| * | |
| * @param string $value | |
| * @param array $protocols http/https, ftp, mail, twitter | |
| * @param array $attributes | |
| * @return string | |
| */ | |
| public function linkify($value, $protocols = array('http', 'mail'), array $attributes = array()) |