Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sesiuni:compiler:highlighting [2014/07/14 21:27]
freescale [Syntax highlighting]
sesiuni:compiler:highlighting [2014/07/16 11:02] (current)
apicus [Task 1]
Line 28: Line 28:
 Build and run the project on a few sample code files. You should obtain HTML files that can be viewed in the browser. You may however notice some problems (hint: try to include a system header in your test file). Build and run the project on a few sample code files. You should obtain HTML files that can be viewed in the browser. You may however notice some problems (hint: try to include a system header in your test file).
  
 +If you want to run on your own machine, you can find the project <​del>​[[https://​drive.google.com/​file/​d/​0BzSnL_TVXUA3ZlRkMVlCRUdiNUE/​edit?​usp=sharing | here]]</​del>​ [[https://​drive.google.com/​file/​d/​0BzSnL_TVXUA3TVBhUERTdnBwVW8/​edit?​usp=sharing | here]].
 == Task 2 == == Task 2 ==
 The first thing that we have to do in order to get our highlighter to work right is to escape special HTML characters such as the angular brackets. //​HTMLSupport.h//​ offers a method for escaping several HTML characters that could cause problems: <​html><​span style="​font-family:​monospace">​std::​string EscapeText(const std::string &text, bool &​isDifferent)</​span></​html>​. The first thing that we have to do in order to get our highlighter to work right is to escape special HTML characters such as the angular brackets. //​HTMLSupport.h//​ offers a method for escaping several HTML characters that could cause problems: <​html><​span style="​font-family:​monospace">​std::​string EscapeText(const std::string &text, bool &​isDifferent)</​span></​html>​.
sesiuni/compiler/highlighting.1405362424.txt.gz · Last modified: 2014/07/14 21:27 by freescale