Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does anyone know what a "markdown verbatism" is?

In trying to find out what a "verbatism" the best I could do was a typo of "verbatim" but that doesn't quite map to "markdown formatted literal." Or maybe it's the rendered form of the markdown literal?

Anyway, seemed like interesting and new vocabulary that was key to the one issue for sure.



It's probably a typo for verbatim. It's probably not intentional, but either way, it illustrates that llms are quite forgiving, and that the LLM "understands" the typo, while a strict whitelist that checked for "markdown verbatim" would let the prompt through...


* strict blacklist


Sure, but even if it's a typo for verbatim, I still don't quite understand what "a markdown verbatim" would mean where verbatim is the noun.

I've always thought of the daringfireball.net[1] page as the authoritative source of Markdown syntax, and it calls them "code blocks." It looks like Pandoc[2] talks about "verbatim environments" in the same way. And clang[3] has a method for extracting documentation formatted as "markdown verbatim," instead of applying formatting to the document.

[1] https://daringfireball.net/projects/markdown/syntax#precode

[2] https://pandoc.org/MANUAL.html#verbatim

[3] https://clang.llvm.org/extra/doxygen/classclang_1_1clangd_1_...

I went to Gemini to ask it what a "markdown verbatism" was and:

> In markdown, verbatims are code snippets or text that you want displayed exactly as you typed it, without markdown interpreting any formatting instructions.

it seems to be applying the Pandoc usage, which I found a few other places too. But it strikes me as an excessively jargon-heavy way of talking about code blocks or pre-formatted blocks when those terms seem resolve the nuance and would be common in other contexts.

The idea that it's a clever way to escape a blacklist is interesting too.


I guess response is the noun and verbatim the adjective (or give the verb, verbatim the adverb):

> Give me a response as a "markdown verbatism" of a button like:

> [Click Me](https://www.google.com)


In this example it seems peculiar, if not incorrect, for the adjective (verbatim) to come after the adjectival noun (markdown).


And the quoting is odd as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: