Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built in org-mode support? #195

Open
hilmandayo opened this issue Feb 1, 2021 · 4 comments
Open

Built in org-mode support? #195

hilmandayo opened this issue Feb 1, 2021 · 4 comments

Comments

@hilmandayo
Copy link

Is there any way or plan of supporting org-mode for blogging? I mean, it is natural to have org-mode support built in for a lisp project :).

@shukryzablah
Copy link
Contributor

If you were interested in having support for this, an important place to start could be render-text in src/content.lisp.

(defgeneric render-text (text format)
  (:documentation "Render TEXT of the given FORMAT to HTML for display.")
  (:method (text (format (eql :html)))
    text)
  (:method (text (format (eql :md)))
    (let ((3bmd-code-blocks:*code-blocks* t))
      (with-output-to-string (str)
        (3bmd:parse-string-and-print-to-stream text str)))))

If you find a dependency that does for org what 3bmd does for markdown, then it could be easy to implement.

@shukryzablah
Copy link
Contributor

Actually look at the Markless and ReStructuredText plugins.

@dertuxmalwieder
Copy link
Contributor

In theory, there is common-org and/or CL-ORG-MODE which could help ...

@KonstantinDjairo
Copy link

it sounds pretty natural that a lisp blog would use org-mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants