1#[cfg(feature = "gpui")]
32pub mod app;
33pub mod doc;
34pub mod edit;
35#[cfg(feature = "gpui")]
36pub mod fence;
37pub mod html;
38pub mod marks;
39#[cfg(feature = "gpui")]
40pub mod paint;
41pub mod parse;
42pub mod quote;
43#[cfg(feature = "gpui")]
44pub mod render;
45pub mod select;
46pub mod serialize;
47#[cfg(feature = "gpui")]
48pub mod source;
49pub mod synced;
50
51#[cfg(feature = "gpui")]
52pub use app::{
53 AppExt,
54 layout::Layout,
55 link::{Link, Links},
56 picture::PictureMenu,
57 preview::Preview,
58 typography::Typography,
59};
60pub use doc::{Align, Block, BlockKind, Doc, Form, Mark, MarkSpan, Part, QuoteKind, Quoted, Text};
61pub use edit::{Shortcut, Splice, shortcut};
62#[cfg(feature = "gpui")]
63pub use fence::{BlockRenderer, Fence, Rewrite, highlight::Highlighter};
64pub use html::{Html, html};
65pub use marks::Marks;
66#[cfg(feature = "gpui")]
67pub use paint::{
68 comment::{CommentPaint, CommentWashes, default_comment},
69 find::{FindPaint, default_find, find_washes},
70 marks::{
71 HighlightColor, HighlightPaint, MarkPaint, default_highlight, highlight_solid,
72 highlight_wash,
73 },
74};
75pub use parse::{
76 ParsedDoc, is_image, is_link, is_url, parse, parse_at, parse_at_many, parse_ranges,
77 parse_ranges_with, parse_with,
78};
79pub use quote::Quote;
80#[cfg(feature = "gpui")]
81pub use render::{
82 Annotation, BlockLayouts, Caption, CopyButton, Editing, FenceHost, ImageOverlay,
83 ImageOverlayCorner, LeaveBlock, OnImage, OnImageMenu, OnJump, OnLeave, OnResize, OnRewrite,
84 OnToggle, PAINTED_CONTEXT, RevealMode, SourceText, SpanJob, Spans, Toggle, image_source,
85 markdown, render, render_source, render_with,
86};
87pub use select::{Affinity, Cursor, Selection};
88pub use serialize::{serialize, serialize_at, serialize_at_many, serialize_with};
89#[cfg(feature = "gpui")]
90pub use source::{spans as source_spans, style::SourceStyle};
91pub use synced::Synced;