1 ;;; ob-css.el --- Babel Functions for CSS -*- lexical-binding: t; -*-
3 ;; Copyright (C) 2009-2017 Free Software Foundation, Inc.
5 ;; Author: Eric Schulte
6 ;; Keywords: literate programming, reproducible research
7 ;; Homepage: http://orgmode.org
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
26 ;; Since CSS can't be executed, this file exists solely for tangling
27 ;; CSS from Org files.
32 (defvar org-babel-default-header-args
:css
'())
34 (defun org-babel-execute:css
(body _params
)
35 "Execute a block of CSS code.
36 This function is called by `org-babel-execute-src-block'."
39 (defun org-babel-prep-session:css
(_session _params
)
40 "Return an error if the :session header argument is set.
41 CSS does not support sessions."
42 (error "CSS sessions are nonsensical"))
48 ;;; ob-css.el ends here