gitinsp.domain.interfaces.infrastructure.ContentService
Service for formatting content in different ways, particularly for converting plain text to HTML for display in web interfaces.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Format a document with a template
Format a document with a template
Value parameters
-
docNumber
-
The document number
-
text
-
The document text
Attributes
-
Returns
-
Formatted document
Format content as HTML with proper styling.
Format content as HTML with proper styling.
Value parameters
-
content
-
The plain text content to format
Attributes
-
Returns
-
HTML formatted string
Format content as plain text with minimal formatting
Format content as plain text with minimal formatting
Value parameters
-
content
-
The content to format
Attributes
-
Returns
-
Plain text formatted string