fixes related to embedded syntax for code blocks

see commit messages