sql 2 html
Submitted by Saturday, 17 November, 2007 - 11:25
on
Hello,
I'd like to present SQL from a database with syntax highlighting on a HTML-web page.
I thougt about combining the JEdit syntax package
with the Code2Html plugin.
However, even the old version of the plugin doesn't streamline with the jedit syntax code.
What would be the best/easiest way to create a java method like
/**
* param String sql - a number of sql statements
* returns syntax highlighted sql codes in HTML notation
**/
public String toSyntaxHighlightHTML(String sql)
Cheers
Meikel
I'd like to present SQL from a database with syntax highlighting on a HTML-web page.
I thougt about combining the JEdit syntax package
with the Code2Html plugin.
However, even the old version of the plugin doesn't streamline with the jedit syntax code.
What would be the best/easiest way to create a java method like
/**
* param String sql - a number of sql statements
* returns syntax highlighted sql codes in HTML notation
**/
public String toSyntaxHighlightHTML(String sql)
Cheers
Meikel