- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for renderers (0.05 seconds)
-
src/main/webapp/js/marked.min.js
,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let s=t.renderers[i.name];s?t.renderers[i.name]=function(...a){let o=i.renderer.apply(this,a);return o===!1&&(o=s.apply(this,a)),o}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:21:57 GMT 2026 - 41.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java
import org.commonmark.Extension; import org.commonmark.ext.gfm.tables.TablesExtension; import org.commonmark.parser.Parser; import org.commonmark.renderer.html.HtmlRenderer; import org.owasp.html.HtmlPolicyBuilder; import org.owasp.html.PolicyFactory; /** * Renders markdown to sanitized HTML for safe display in the chat interface. * Uses commonmark for markdown parsing and OWASP HTML Sanitizer for XSS prevention. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 5.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
* classloader by {@link JApiCmpWorkerAction}, so there is no way to use a * normal property on the renderer instance and just set the location of the API file in it. * * Instead, we'll encode the path to the file in the description data field, as a link. This is * useful regardless of this renderer's needs, since now there will be a link embedded in the reportCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:18:18 GMT 2026 - 7K bytes - Click Count (0) -
src/main/resources/fess_llm.xml
<component name="chatSessionManager" class="org.codelibs.fess.chat.ChatSessionManager"> </component> <component name="chatClient" class="org.codelibs.fess.chat.ChatClient"> </component> <!-- Markdown renderer --> <component name="markdownRenderer" class="org.codelibs.fess.helper.MarkdownRenderer"> <postConstruct name="init"/> </component> <!-- LLM client manager -->
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Mar 04 15:19:41 GMT 2026 - 779 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/ChatMessage.java
return ROLE_ASSISTANT.equals(role); } /** * Gets the HTML-rendered content. * * @return the HTML content, or null if not rendered */ public String getHtmlContent() { return htmlContent; } /** * Sets the HTML-rendered content. * * @param htmlContent the HTML content */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 04:52:31 GMT 2026 - 10.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotes.java
/** * The location of the release notes assets */ public abstract DirectoryProperty getReleaseNotesAssets(); // TODO: Need staging root property too /** * The collection of rendered documentation. */ public abstract RegularFileProperty getRenderedDocumentation();Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:08:23 GMT 2026 - 1.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
</p> ${writeFilterPreset(project)} """.stripIndent() it.renderer.set(EnrichedReportRenderer.class) } as Action ) } tasks.named("check").configure { dependsOn(checkBinaryCompatibility) } tasks.register("cleanAcceptedApiChanges", CleanAcceptedApiChanges) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 8.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
import java.io.File; import java.util.Collections; import java.util.HashMap; import java.util.Map; /** * Takes a rendered release notes HTML file and decorates it with extra elements/content/links. */ @CacheableTask public abstract class DecorateReleaseNotes extends DefaultTask { /** * The rendered HTML release notes that need decoration. */ @InputFile @PathSensitive(PathSensitivity.NONE)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:08:23 GMT 2026 - 3.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java
/** * Additional resources to include in the final docs */ public abstract ConfigurableFileCollection getResources(); /** * A collection of the final rendered user manual */ public abstract ConfigurableFileCollection getRenderedDocumentation();Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
* @return The chat client. */ public static ChatClient getChatClient() { return getComponent(CHAT_CLIENT); } /** * Gets the markdown renderer component. * @return The markdown renderer. */ public static MarkdownRenderer getMarkdownRenderer() { return getComponent(MARKDOWN_RENDERER); } /** * Gets a component by its class type.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 30.9K bytes - Click Count (0)