use Url;
/// Generates a Markdown link with the provided URL and title.
///
/// # Examples
///
/// ```
/// # use tyupy::fmt::markdown;
/// # use url::Url;
///
/// let url = Url::parse("https://example.com").unwrap();
/// let title = "Example Website";
/// let link = markdown(&url, title);
/// assert_eq!(link, "[Example Website](https://example.com/)");
/// ```
/// Generates an Org Mode link with the provided URL and description.
///
/// # Examples
///
/// ```
/// # use tyupy::fmt::org;
/// # use url::Url;
///
/// let url = Url::parse("https://example.com").unwrap();
/// let description = "Example Website";
/// let link = org(&url, description);
/// assert_eq!(link, "[[https://example.com/][Example Website]]");
/// ```