Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
//! Live document Markdown through the existing lexical exporter.
use crate::domain::{models::DocumentError, text::LiveMarkdownReader};
use lexical_client::{LexicalClient, parse_markdown::MarkdownTarget};
impl LiveMarkdownReader for LexicalClient {
async fn markdown(&self, document_id: &str) -> Result<String, DocumentError> {
self.get_markdown(document_id, MarkdownTarget::External)
.await
.map_err(DocumentError::Internal)
}
}