Format4LinkedIn
pendingby Marian Stancik
Formats markdown content for LinkedIn posts.
Format4LinkedIn — Obsidian plugin
Format4LinkedIn formats markdown copied from an editor so it's friendly for pasting into LinkedIn. It converts Markdown bold/italic to Unicode-styled characters (or strips the markers), transforms header styles, and trims trailing whitespace or final blank lines.
Desktop only: This plugin is intended for desktop Obsidian installs only. It relies on desktop clipboard behaviour and uses Unicode formatting that may not be supported or desirable on mobile platforms.
Purpose
Provide a simple, local way to copy Markdown content from Obsidian and paste it into LinkedIn (or any rich-text field) while preserving intended emphasis and cleaning up heading/whitespace styling.
Features
- Copy the active editor's content to the clipboard with applied transformations.
- Convert or remove bold markers (
**bold**/__bold__). - Convert or remove italic markers (
*italic*/_italic_). - Transform H1/H2/H3 into plain text, ALL CAPS, Title Case, or Sentence case.
- Trim trailing whitespace on each line and optionally remove ending blank lines.
Settings
Open Settings → Community plugins → Format4LinkedIn to configure:
- Remove bold markers — strip
**/__markers or convert the content to Unicode bold characters. - Remove italic markers — strip
*/_markers or convert the content to Unicode italic characters. - H1 / H2 / H3 style — choose
plain,allcaps,title, orsentencefor header transformations. - Remove trailing whitespace — trim trailing spaces/tabs from each line.
- Remove ending blank lines — remove blank lines/newlines at the end of the document.
Settings are persisted via Obsidian's settings API.
Usage
- Click the clipboard icon in the left ribbon to copy the active note's formatted markdown to your clipboard.
- Run the command Copy markdown to clipboard (command id:
format4linkedin:copy-markdown) from the command palette or bind a hotkey.
Paste into LinkedIn or another rich-text editor. The plugin will apply header, bold, and italic transformations according to your settings.
Notes
- Ensure
isDesktopOnlyinmanifest.jsonreflects desktop-only behaviour. - The plugin performs local transformations only and does not transmit content to external services.
References
- Obsidian API: https://docs.obsidian.md
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.