Changeset 81d2166 for .emacs


Ignore:
Timestamp:
Apr 21, 2022, 2:40:37 PM (3 years ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
8e3e6d5
Parents:
6c8630f
Message:

Remove peertube format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .emacs

    r6c8630f r81d2166  
    2121  (concat "<video controls>"
    2222          "<source src=\"/public/videos/%s\"> Video are not supported </video>"))
    23 
    24 (org-add-link-type
    25  "peertube"
    26  (lambda (handle)
    27    (browse-url
    28     (concat "https://peervideo.ru/videos/embed/"
    29             handle)))
    30  (lambda (path desc backend)
    31    (cl-case backend
    32      (html (format peertube-iframe-format
    33                    path (or desc "")))
    34      (latex (format "\href{%s}{%s}"
    35                     path (or desc "video"))))))
    3623
    3724(org-add-link-type
Note: See TracChangeset for help on using the changeset viewer.