FLUTTER ECOSYSTEM

f3ath/marker

डार्ट के लिए मार्कडाउन रेंडरर (प्रिंटर)

चिह्न प्रोजेक्ट कवर
Stars
4
Forks
0
अंतिम पुश (UTC)
7 अग॰ 2023
प्रोजेक्ट स्थिति
सक्रिय
Alexey GitHub avatar
GITHUB User

Alexey ↗

If I had ever learnt, I should have been a great proficient.

Salesforce Silicon Valley, CA
भाषाएँDart

तकनीकी विषय

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 5 आइटम
  • markdown^7.0.0
  • testडेवलपमेंट^1.21.4
  • lintsडेवलपमेंट^2.0.0
  • coverageडेवलपमेंट^1.5.0
  • check_coverageडेवलपमेंट^0.0.1

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

marker

Marker is a Markdown renderer (printer) for Dart. It takes a list of Node objects produced by the parser and renders it back to a string.

Supported markdown flavors:

The renderer supports both inline and reference links and images.

Example
import 'dart:io';

import 'package:markdown/markdown.dart';
import 'package:marker/marker.dart';

/// Renders CHANGELOG.md with all links inline
void main() {
  final file = File('CHANGELOG.md');
  /// Contains parsed tree
  final nodes = Document().parseLines(file.readAsLinesSync());
  /// Contains markdown text
  final markdown = render(nodes);
  print(markdown);
}