a bit more moving around
diff --git a/pkgs/markdown/lib/src/ast.dart b/pkgs/markdown/lib/src/ast.dart index 6a05021..befd75e 100644 --- a/pkgs/markdown/lib/src/ast.dart +++ b/pkgs/markdown/lib/src/ast.dart
@@ -2,7 +2,9 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library markdown.core; +library markdown.ast; + +typedef Node Resolver(String name); /// Base class for any AST item. Roughly corresponds to Node in the DOM. Will /// be either an Element or Text.
diff --git a/pkgs/markdown/lib/src/document.dart b/pkgs/markdown/lib/src/document.dart index b1c1db3..7ed01ca 100644 --- a/pkgs/markdown/lib/src/document.dart +++ b/pkgs/markdown/lib/src/document.dart
@@ -3,7 +3,6 @@ import 'ast.dart'; import 'block_parser.dart'; import 'inline_parser.dart'; -import 'util.dart'; /// Maintains the context needed to parse a markdown document. class Document {
diff --git a/pkgs/markdown/lib/src/util.dart b/pkgs/markdown/lib/src/util.dart index 2d577a6..a6d52de 100644 --- a/pkgs/markdown/lib/src/util.dart +++ b/pkgs/markdown/lib/src/util.dart
@@ -1,12 +1,8 @@ library markdown.util; -import 'ast.dart'; - /// Replaces `<`, `&`, and `>`, with their HTML entity equivalents. String escapeHtml(String html) { return html.replaceAll('&', '&') .replaceAll('<', '<') .replaceAll('>', '>'); } - -typedef Node Resolver(String name);