about summary refs log tree commit diff
path: root/ennum-html.el
AgeCommit message (Collapse)Author
12 daysMove link types to separate file.Arun Isaac
Move link types to a separate file independent of the ennum-html backend. The new link export interface exposes the info communication channel. So, we no longer need to override the html link transcoder.
13 daysMove ISO language codes to separate file.Arun Isaac
2025-09-10Use HTML5 by default.Arun Isaac
2025-03-30Add pdf link type.Arun Isaac
* ennum-html.el (ennum-html-export-pdf): New function. (org-link-parameters): Add pdf. * ennum.el (ennum-setting): Add :pdf-width and :pdf-height settings. (ennum-publish-link): Add pdf link type.
2022-08-19Rename :video-directory setting to :videos-directory.Arun Isaac
* ennum.el (ennum-setting, ennum-blog): Rename :video-directory setting to :videos-directory. (ennum-publish-link): Use :videos-directory setting instead of :video-directory. * ennum-html.el (ennum-html-link, ennum-html-follow-video): Use :videos-directory setting instead of :video-directory.
2022-08-18Rename :thumbnail-image-width property to :image-thumbnail-width.Arun Isaac
* ennum.el (ennum-publish): Use :image-thumbnail-width instead of :thumbnail-image-width. (ennum-setting): Rename :thumbnail-image-width property to :image-thumbnail-width. * ennum-html.el (ennum-html-export-thumbnail): Use :image-thumbnail-width instead of :thumbnail-image-width.
2022-08-18Rename :default-image-width property to :image-width.Arun Isaac
* ennum.el (ennum-publish-link): Use :image-width instead of :default-image-width. (ennum-setting): Rename :default-image-width property to :image-width. * ennum-html.el (ennum-html-link): Use :image-width instead of :default-image-width.
2022-08-18Mark ennum-html-export-thumbnail desc argument as unused.Arun Isaac
* ennum-html.el (ennum-html-export-thumbnail): Mark desc argument as unused.
2022-08-18Do not shadow default-directory dynamic variable.Arun Isaac
* ennum-html.el (expand-file-name*): Rename default-directory argument to base-directory.
2022-08-17Do not pass comparison function to map-elt.Arun Isaac
* ennum.el (ennum-export-post, ennum-publish-index-page, ennum-assoc-prepend): Do not pass comparison function to map-elt. * ennum-html.el (ennum-html-inner-template): Do not pass comparison function to map-elt.
2022-08-15Link to video poster in images directory, not the video directory. v0.1.0Arun Isaac
* ennum-html.el (ennum-html-link): Link to video poster in images directory, not the video directory.
2022-08-15Do not log video posters.Arun Isaac
* ennum-html.el (ennum-html-link): Do not log video posters.
2022-08-15Register video link type.Arun Isaac
* ennum-html.el: Register video link type. (ennum-html-follow-video): New function.
2020-08-02Pass post object in info.Arun Isaac
* ennum-html.el (ennum-html-inner-template): Use translations from post object. (ennum-html-find-link): New function. (ennum-html-link): Use post titles and video posters from post object. * ennum.el (ennum-export-post): Pass post object as :ennum-posts in info.
2020-08-02Pass post titles in info.Arun Isaac
* ennum-html.el (ennum-html-link): Handle post links as a special case. (ennum-html-export-post): Use post link description received as argument. When description is nil, do not attempt to read source files to find the post title. * ennum.el (ennum-export-post): Pass post titles as :ennum-post-titles in info.
2020-08-01Embed list of translations into post object.Arun Isaac
* ennum.el (ennum-post): Add ennum-copy-post copier and translations slot. (ennum-posts): Set translations slot. (ennum-publish-post): Publish a single post, not a translation group of posts. (ennum-publish): Pass posts to ennum-publish-post one by one, without grouping. * ennum-html.el (ennum-html-inner-template): Use translations alist.
2020-08-01Prefix ennum-html symbols with ennum-html-.Arun Isaac
* ennum-html.el: Prefix all ennum-html symbols consistently with ennum-html-.
2020-07-31Pass video posters through info.Arun Isaac
* ennum.el (ennum-post): Add video-posters slot. (ennum--read-post): Set video-posters slot when creating post object. (ennum-publish-post, ennum--feed-entry): Pass video-posters in info communication channel. * ennum-html.el (ennum-html-link): Handle video links differently from normal org links since they require access to the info communication channel. Get poster from info instead of reading the source tree directly. (ennum-export-video): Delete function. (org-link-parameters): Unregister ennum-export-video.
2020-07-31Prefix :translations in info with ennum-.Arun Isaac
* ennum.el (ennum-publish-post): Prefix :translations in info communication channel with ennum-. * ennum-html.el (ennum-html-inner-template): Use :ennum-translations instead of :translations.
2020-07-18Rename ennu to ennum.Arun Isaac
* ennu.el: Rename to ... * ennum.el: ... this. Replace all instances of ennu with ennum. * ennu-html.el: Rename to ... * ennum-html.el: ... this. Replace all instances of ennu with ennum. * ennu-image.el: Rename to ... * ennum-image.el: ... this. Replace all instances of ennu with ennum.