with Documenso and 2markdown?
Add a recipient to an existing Documenso document. [See the documentation](See the documentation)
Convert an HTML file to Markdown format. See the documentation
Create a new document in Documenso from a pre-existing template. See the documentation
Convert raw HTML content to Markdown format. See the documentation
Convert a PDF document to Markdown format. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
documenso: {
type: "app",
app: "documenso",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.documenso.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.documenso.$auth.api_token}`,
},
})
},
})
The 2markdown API on Pipedream enables you to convert HTML content into Markdown format seamlessly. This functionality is pivotal for content creators, developers, and marketers who often need to transition between web content and Markdown for various platforms like GitHub, blogs, or documentation sites. By leveraging Pipedream's robust integration and automation capabilities, you can set up workflows that trigger the API to process content dynamically, connect with other services for enhanced automation, or even archive and manage your Markdown conversions systematically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_2markdown: {
type: "app",
app: "_2markdown",
}
},
async run({steps, $}) {
const data = {
"html": "<h1>Hello, World!</h1>",
}
return await axios($, {
method: "post",
url: `https://api.2markdown.com/v1/html2md`,
headers: {
"X-Api-Key": `${this._2markdown.$auth.api_key}`,
},
data,
})
},
})