FLUTTER ECOSYSTEM

f3ath/marker

Dart용 마크다운 렌더러(프린터)

마커 프로젝트 이미지
Stars
4
Forks
0
최근 푸시(UTC)
2023. 8. 7.
프로젝트 상태
활성
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);
}