테스트 화면은 XEmacs 최신 버젼이다.
일단 원하는 파일을 열고,
M-x htmlize-file
을 입력한다.
이외에도 htmlize-many-files나 htmlize-region, htmlize-buffer, htmlize-many-files-dired ... 이 있다.
다음은 -_- 노마제 테마의 소스 코드를 HTML로 출력한 것이다.
/**
* Floater used both for display of group information and for
* creating new groups.
*
* Help, I'm trapped in a software factory!
*/
#include "llviewerprecompiledheaders.h"
#include "llfloatergroupinfo.h"
#include "llagent.h"
#include "llcachename.h"
#include "llpanelgroup.h"
#include "llviewermessage.h" // for inventory_offer_callback
const char FLOATER_TITLE[] = "Group Information";
const LLRect FGI_RECT(0, 530, 420, 0);
//
// Globals
//
std::map<LLUUID, LLFloaterGroupInfo*> LLFloaterGroupInfo::sInstances;
//-----------------------------------------------------------------------------
// Implementation
//-----------------------------------------------------------------------------
LLFloaterGroupInfo::LLFloaterGroupInfo(const std::string& name, const LLRect &rect, const std::string& title, const LLUUID& group_id, const std::string& tab_name)
: LLFloater(name, rect, title),
mGroupID( group_id )
{
// Construct the filename of the group panel xml definition file.
mPanelGroupp = new LLPanelGroup("panel_group.xml",
"PanelGroup",
group_id,
tab_name);
addChild(mPanelGroupp);
}