无论出于何种原因,日落(更具体地说是Snudown ,它的一个分支)似乎不会输出如下所示的行: > some text 像HTML中的块引用一样,因为它是有效的Markdown。 我知道在日落有扩展允许某些function,但我找不到一个报价。 这里是我使用的代码(它在Objective-C中,但大部分是C): struct sd_callbacks callbacks; struct html_renderopt options; const char *rawMarkdown = [markdownString cStringUsingEncoding:NSUTF8StringEncoding]; struct buf *inputBuffer = bufnew(strlen(rawMarkdown)); bufputs(inputBuffer, rawMarkdown); // Parse the Markdown struct buf *outputBuffer = bufnew(64); sdhtml_renderer(&callbacks, &options, 0); unsigned int extensions = MKDEXT_NO_INTRA_EMPHASIS|MKDEXT_TABLES|MKDEXT_FENCED_CODE|MKDEXT_AUTOLINK|MKDEXT_STRIKETHROUGH|MKDEXT_SUPERSCRIPT|MKDEXT_LAX_SPACING; struct sd_markdown *markdown = sd_markdown_new(extensions, 16, 4, &callbacks, &options); sd_markdown_render(outputBuffer, inputBuffer->data, […]