@dendronhq/devto-pod

This pod lets you publish your Dendron notes to dev.to

Usage no npm install needed!

<script type="module">
  import dendronhqDevtoPod from 'https://cdn.skypack.dev/@dendronhq/devto-pod';
</script>

README

Dev.to Pod

This pod lets you publish your Dendron notes to dev.to

Instructions

Installation

cd {workspace}
npm init -y 
npm install -g dendron-cli
npm install --save @dendronhq/devto-pod

Usage

The below command will publish $FILE_NAME to Dev.To


API_KEY={API_KEY}
FILE_NAME={FNAME}

cd {workspace}
dendron-cli publishPod --wsRoot ~/Dendron --podId dendron.devto --podPkg @dendronhq/devto-pod --podSource remote --config fname=$FILE_NAME,vaultName=vault,dest=stdout,apiKey=$API_KEY

Configuration

  • apiKey: the API Key of your dev.to account. You can follow the instructions here to get it

Metadata

  • title: string
    • source: frontmatter, title field
    • note title
  • tags?: string[];
    • source: frontmatter, tags field
  • canonical_url?: string;
    • source: dendron.yml, obtained from site.site_url