# Validator This page is used as a validator for all non-standard features used in Obsidian Publish. ## Embedding Trying to embed [[Test - Embed|this]] file. ### Embed whole file ![[Test - Embed]] ### Embed section ![[Test - Embed#This is header in embedded file]] ### Validation It should like like this: ![[Pasted image 20240105151736.png|Validation for Embedding whole file and section]] This file has 3 css classes applied: - `embed-strict` - `hide-embedded-headers-h1` - will hide first occurrence of h1 header in markdown embed - `hide-embedded-headers-h2` - will hide first occurrence of h2 header in markdown embed This is why they ==SHOULDN'T== be used together. But for validation it's okay that we use it. ## Callouts > [!info]- > [!todo]- > [!tip] (Aliases: `hint`, `important`) > [!success] (Aliases: `check`, `done`) > [!warning] (Aliases: `caution`, `attention`) > [!failure] (Aliases: `fail`, `missing`) > [!danger] (Alias: `error`) > [!bug] > [!example] > [!question] (Aliases: `help`, `faq`) > [!summary] > [!tldr] > [!quote] (Alias: `cite`) > [!teaser] > [!travel] > [!like] > [!dislike] > [!idea] > [!under-contruction] (Alias: `construction`) ### Validation Default and Custom ones have correct icons: ![[Pasted image 20240105150825.png|Callout validation]] ## Source code ```text Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis bibendum, lectus ut viverra rhoncus, dolor nunc faucibus libero, eget facilisis enim ipsum id lacus. Duis ante orci, molestie vitae vehicula venenatis, tincidunt ac pede. ``` ### Validation Wrapping is done correctly and font is JetBrains Mono: ![[Pasted image 20240105150729.png|Code block with wrapping and JetBrains Mono font]]