MCPcopy Index your code
hub / github.com/writefreely/writefreely / applyMarkdown

Function applyMarkdown

postrender.go:122–124  ·  view source on GitHub ↗
(data []byte, baseURL string, cfg *config.Config)

Source from the content-addressed store, hash-verified

120}
121
122func applyMarkdown(data []byte, baseURL string, cfg *config.Config) string {
123 return applyMarkdownSpecial(data, baseURL, cfg, cfg.App.SingleUser)
124}
125
126func disableYoutubeAutoplay(outHTML string) string {
127 for _, match := range youtubeReg.FindAllString(outHTML, -1) {

Callers 11

handleViewPostFunction · 0.85
PreviewObjectMethod · 0.85
handlePremiumContentMethod · 0.85
formatContentMethod · 0.85
handleRenderMarkdownFunction · 0.85
FetchPublicPostsMethod · 0.85
showLocalTimelineFunction · 0.85
viewLocalTimelineFeedFunction · 0.85
handleViewLandingFunction · 0.85
handleTemplatedPageFunction · 0.85
handleGetSplitContentFunction · 0.85

Calls 1

applyMarkdownSpecialFunction · 0.85

Tested by

no test coverage detected