From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: [RFC] htmlize and htmlfontify comparison Date: Sat, 06 Oct 2018 18:58:23 +0200 Message-ID: <874ldzovv4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8puQ-0007dS-Gv for emacs-orgmode@gnu.org; Sat, 06 Oct 2018 12:58:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8puM-0002Lq-Gf for emacs-orgmode@gnu.org; Sat, 06 Oct 2018 12:58:30 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:49881) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g8puL-0002KK-Pk for emacs-orgmode@gnu.org; Sat, 06 Oct 2018 12:58:26 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 0F1B740005 for ; Sat, 6 Oct 2018 16:58:23 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org Mode List --=-=-= Content-Type: text/plain Hello, I'm in the process of moving Org from htmlize to htmlfontify. I'm starting out with a low hanging fruit, which is the call to `htmlize-buffer' in `org-org-publish-to-org'. I created a simple Org file and published it once using htmlfontify and another time with htmlize. I'm attaching the two HTML files obtained. My CSS/HTML/Javascript-fu is rusty. Could someone tell me if there is anything wrong with the result? Is it a drop-in replacement or does it need more clean-up? Thank you. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/html Content-Disposition: attachment; filename=htmlfontify-x.org.html Content-Description: HTML with Htmlfontify wip-html.org
# Time-stamp: <2018-10-06 18:06:43 ngz>
* Headline

#+begin_src emacs-lisp
(defun test (&rest _) nil)
#+end_src

*bold*

/italic/

--=-=-= Content-Type: text/html Content-Disposition: attachment; filename=htmlize-x-org.html Content-Description: HTML with htmlize wip-html.org
# Time-stamp: <2018-10-06 18:06:43 ngz>
* Headline

#+begin_src emacs-lisp
(defun test (&rest _) nil)
#+end_src

*bold*

/italic/

--=-=-=--