使用Live Writer测试 1

没有使用样式原始Delphi 片段效果

program Project1;

{$APPTYPE CONSOLE}

{$R *.res}

uses
  System.SysUtils;

begin
  try
    { TODO -oUser -cConsole Main : Insert code here }
  except
    on E: Exception do
      Writeln(E.ClassName, ': ', E.Message);
  end;
end.

CF.SyntaxHighlighter for Windows Live Writer 使用的效果

Code

该实例基本上是采用 HTML 实现,没有采用过多的Ajax 通用性好,速度快,但对代码的识别上有局限,没有用CSS 。

以上代码效果采用cf.SyntaxHighighter.msi http://plugins.live.com/writer/detail/inserting-plugin-code插件生成

原文地址:https://www.cnblogs.com/hieroly/p/2327766.html