Sample Article for Testing II
This is another sample article for testing the publication CLI commands.
Introduction
You can use this file to test the various publication workflows:
Post: Create a new publication from this file
Patch: Update an existing publication
Push: Batch publish or validate
Markdown Features
The converter should handle standard markdown elements:
Text Formatting
This paragraph demonstrates italic text, bold text, and bold italic text. You can also use inline code for technical references.
Lists
Unordered lists work like this:
First item
Second item
Third item with a longer description that spans multiple words
Ordered lists are also supported:
First step
Second step
Third step
Code Blocks
func main() {
fmt.Println("Hello, world!")
}
Links
Check out leaflet.pub for more information.
Testing Commands
To test with this file:
# Create note and push (dry run)
noteleaf pub push --file sample.md --dry-run
# Create note and publish as draft
noteleaf pub push --file sample.md --draft
# Create note and publish
noteleaf pub push --file sample.md
Conclusion
This sample file covers the essential markdown elements needed for testing the publication system.