I have solved this request of mine when I managed to get Logseq Properties play nice with markdown by embedding them in a multi-line Markdown Link.
I currently have css setup to hide block properties in main viewer (working pane) so I have lots of tags that are not visible in the block text:
/* ========================================================================== */
/* Styles for Auto-Hiding and Revealing on Mouse Hover for Block Properties */
/* Styles for displaying block properties */
.block-properties {
display: none;
position: absolute;
transform: translateX(0%); /* Move the properties horizontally aligned with the ".block-content-inner" DIV Left Margin */
border-radius: 5px;
padding: 10px;
border: 1px solid var(--ls-secondary-border-color); /* Add custom border color from pre-defied variables */
background: var(--ls-primary-background-color)
}
/* Show block properties on hovering .block-content-inner */
.block-content-inner:hover ~ .block-properties {
display: block;
opacity: 1;
z-index: 999;
}
/* Override styles for block properties in right sidebar */
#right-sidebar .block-properties {
display: block;
position: relative;
}