Skip to content

Commit

Permalink
#72 make syntax hightlighter a singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed May 11, 2023
1 parent 0c52f72 commit f1667c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/HtmlDocumentationSyntaxHighlighter.cfc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
* @singleton
*/
component {

public string function renderHighlights( required string text ) {
Expand Down Expand Up @@ -60,4 +63,4 @@ component {
return result;
}

}
}

0 comments on commit f1667c6

Please sign in to comment.