(
self, tokens: Sequence[Token], idx: int, options: OptionsDict, env: EnvType
)
| 230 | return result |
| 231 | |
| 232 | def code_inline( |
| 233 | self, tokens: Sequence[Token], idx: int, options: OptionsDict, env: EnvType |
| 234 | ) -> str: |
| 235 | token = tokens[idx] |
| 236 | return ( |
| 237 | "<code" |
| 238 | + self.renderAttrs(token) |
| 239 | + ">" |
| 240 | + escapeHtml(tokens[idx].content) |
| 241 | + "</code>" |
| 242 | ) |
| 243 | |
| 244 | def code_block( |
| 245 | self, |
nothing calls this directly
no test coverage detected