Git Product home page Git Product logo

jekyll-org's Introduction

Hi there 👋

  • 🔭 I’m currently working @ home.
  • 🌱 and learning some cool things like rust, nushell etc.

jekyll-org's People

Contributors

bzg avatar corecode avatar eggcaker avatar gitter-badger avatar gnusosa avatar goshatch avatar it-is-wednesday avatar jlevers avatar julianrubisch avatar kevzettler avatar khinshankhan avatar l3kn avatar mohkale avatar parkr avatar stig avatar wallyqs avatar wdenton avatar wheest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jekyll-org's Issues

Parse LaTeX source blocks

For LaTeX equations, one can surround the snippet in double $, or \( \) and jekyll-org will export it fine.

For example:

$$A[v_1, v_2, \ldots, v_r] = [\sigma_1 u_1, \sigma_2 u_2, \ldots, \sigma_r u_r] $$

However, for larger multi-line equations, a normal workflow is to put it inside a LaTeX source block, e.g.

#+BEGIN_LaTeX   
\begin{equation} 
A[v_1, v_2, \ldots, v_r] = [\sigma_1 u_1, \sigma_2 u_2, \ldots, \sigma_r u_r]
\end{equation}
#+END_LaTeX

This does not export work with jekyll-org. Are there any places in the codebase that this could be added? Would you recommend I look at org-ruby?

make a new release from current master?

i'm aware this is in maintenance mode, but i think it would it be very helpful to make a new release from current master.

i recently updated my jekyll site to the new ruby version, and this plugin broke, which broke my whole site, including breaking existing markdown files, and only showed an error message that didn't have any information that would help narrow down the issue. (which function, which plugin, etc. errored.) i had to go looking through all of my jekyll plugins and all jekyll itself and my theme searching for a needle in a haystack.

what allowed me to un-break my site was this message: #57 (comment), so that my site now tracks a local checkout of current master branch. if a release had been made, it would have just upgraded to latest release, and not broken.

Headers do not have id.

I recently started using org mode and for a particular long blog I added TOC and realized that headers do not have id due to which one cannot use TOC.

Is there a fix or a known way to handle this?

cannot make the page running at all

Hi,

I've followed the instructions precisely as they were written out in the readme so I have jekyll-org included both in my _config.yaml file and in the Gemfile. However it still doesn't seem to work.

Right now I have only 3 files included with my page: index.md and about.md (defaults) and the info.org file (I've emptied _posts directory and it did not change the behaviour) that I've added. It is also worthy mentioning that I am using the jekyll-katex plugin but I don't think it's the issue.

My info.org file looks like this:

#+LAYOUT: page
#+TITLE: Info
#+PERMALINK: /info/

*** org mode test
testing the ~org~ mode


/voila/.

but running bundle exec jekyll serve --watch --trace gives this:

OrgSite grzegorz$ bundle exec jekyll serve --watch --trace
Configuration file: /Users/grzegorz/programming/OrgSite/_config.yml
Katex Configuration: Found KaTeX js at: /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-katex-1.0.0/lib/assets/js/katex.min.js
Configuration file: /Users/grzegorz/programming/OrgSite/_config.yml
            Source: /Users/grzegorz/programming/OrgSite
       Destination: /Users/grzegorz/programming/OrgSite/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
bundler: failed to load command: jekyll (/usr/local/lib/ruby/gems/3.0.0/bin/jekyll)
/usr/local/lib/ruby/gems/3.0.0/gems/jekyll-org-1.1.1/lib/jekyll-org.rb:44:in `read': no implicit conversion of Hash into Integer (TypeError)
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-org-1.1.1/lib/jekyll-org.rb:44:in `read_yaml'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/page.rb:51:in `initialize'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/readers/page_reader.rb:20:in `new'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/readers/page_reader.rb:20:in `block in read'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/readers/page_reader.rb:19:in `each'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/readers/page_reader.rb:19:in `read'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:101:in `retrieve_pages'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-org-1.1.1/lib/jekyll-org.rb:76:in `retrieve_org_files'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-org-1.1.1/lib/jekyll-org.rb:83:in `retrieve_static_files'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:62:in `read_directories'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/reader.rb:16:in `read'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:181:in `read'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:78:in `process'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:28:in `process_site'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:65:in `build'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:36:in `process'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
	from /usr/local/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
	from /usr/local/lib/ruby/gems/3.0.0/bin/jekyll:23:in `load'
	from /usr/local/lib/ruby/gems/3.0.0/bin/jekyll:23:in `<top (required)>'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/cli/exec.rb:63:in `load'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/cli/exec.rb:63:in `kernel_load'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/cli/exec.rb:28:in `run'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/cli.rb:494:in `exec'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/cli.rb:30:in `dispatch'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/cli.rb:24:in `start'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/exe/bundle:49:in `block in <top (required)>'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
	from /Users/grzegorz/.gem/ruby/3.0.0/gems/bundler-2.2.9/exe/bundle:37:in `<top (required)>'
	from /usr/local/lib/ruby/gems/3.0.0/bin/bundle:23:in `load'
	from /usr/local/lib/ruby/gems/3.0.0/bin/bundle:23:in `<main>'

so yeah. It doesn't work. Searching for similar tracebacks wasn't helpful as well.

versions:
jekyll 4.2.0 and jekyll-org 1.1.1

All files are pretty much the defaults from jekyll new apart from adding KaTeX (which works on my markdown jekyll page)

when I include some posts then this section gets added to the beginning of the error message:

Error: could not read file /Users/grzegorz/programming/OrgSite/_posts/2021-02-17-example.org: no implicit conversion of Hash into Integer
             Error: could not read file /Users/grzegorz/programming/OrgSite/_posts/2021-02-17-org-page.org: no implicit conversion of Hash into Integer
             Error: could not read file /Users/grzegorz/programming/OrgSite/_posts/2021-02-17-welcome-to-jekyll.md: wrong number of arguments (given 1, expected 0)
bundler: failed to load command: jekyll (/usr/local/lib/ruby/gems/3.0.0/bin/jekyll)

example.org being the example post from your readme, org-page being a simple post of mine and the last one is the default post you get with jekyll-new

How to deploy on github page?

The plugin works as expected on the local site, but when I push it to github (username.github.io) it doesn't work.

The local installation is using submodules. At first, github complained about the URL of the submodule, but after fixing it it seemed to be in place correctly. In particular, username.github.io/_plugins contains the sub-directory named jekyll-org.

Is there anything further that I have to set? Can it work or is it that github doesn't support the plugin?

Title of an *.org file is incorrectly parsed if it contains the string `yes`, `no`, `true`, `false`, etc

Hi,

As described in the title of this issue, I believe it is caused by this code segment in the module converter.rb.

      @@truthy_regexps = [/enabled/,  /yes/, /true/]
      @@falsy_regexps  = [/disabled/, /no/,  /false/]

      def _parse_boolean(value, error_msg=nil)
        case value.downcase
        when *@@truthy_regexps
          true
        when *@@falsy_regexps
          false
        else
          unless error_msg.nil?
            Jekyll.logger.warn("OrgDocument:", error_msg + ": #{value}")
          end
        end
      end

Here is the title in my org file:

#+TITLE: Yes
#+LAYOUT: page

Here is the log generated by Jekyll:

/var/lib/gems/2.7.0/gems/jekyll-org-1.1.1/lib/jekyll-org.rb:44: warning: Using the last argument as keyword parameters is deprecated
       Jekyll Feed: Generating feed for posts
  Liquid Exception: undefined method `gsub' for true:TrueClass in /_layouts/default.html
             Error: undefined method `gsub' for true:TrueClass
             Error: Run jekyll build --trace for more information.
                    
      Regenerating: 2 file(s) changed at 2020-07-25 19:51:21
                    private/research/projects/discover/alias-analysis/notes-on-alias-analysis.org
                    private/research/projects/discover/alias-analysis/.#notes-on-alias-analysis.org

tags not beings parsed correctly

When I specify tags according to the documentation

#+TAGS: foo bar

I get an error thrown with two different themes I have tried (next theme and beautiful Jekyll). The error is:

Liquid Exception: undefined method `each' for "foo, bar":String in tags.html

I'm new to Jekyll, so I might be missing something obvious, but any help would be appreciated.

Warnings while starting jekyll server

I've added gem to Gemfile in group :jekyll_plugins. Everything works but why these warnings appears?

/Users/a.koval/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-org-1.0.2/lib/jekyll-org.rb:37: warning: already initialized constant Jekyll::Document::DATELESS_FILENAME_MATCHER /Users/a.koval/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-3.6.2/lib/jekyll/document.rb:14: warning: previous definition of DATELESS_FILENAME_MATCHER was here /Users/a.koval/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-org-1.0.2/lib/jekyll-org.rb:38: warning: already initialized constant Jekyll::Document::DATE_FILENAME_MATCHER /Users/a.koval/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jekyll-3.6.2/lib/jekyll/document.rb:15: warning: previous definition of DATE_FILENAME_MATCHER was here Configuration file: /Users/a.koval/dev/kova1.gitlab.io/_config.yml Source: /Users/a.koval/dev/kova1.gitlab.io Destination: /Users/a.koval/dev/kova1.gitlab.io/_site Incremental build: disabled. Enable with --incremental

Footnotes don't get converted

Example

And this is just some plain text here [fn:1]

Footnotes
[fn:1] Foot notes text goes here

Problem

The problem is that org-jekyll does not convert org-mode footnotes to html footnotes. Seems like an easy fix. Not sure though. Anyone else have this issue?

Org citations

Is there a way to get org citations to work when publishing with jekyll-org? Currenty, citation links just get published as-is: Alain de Botton[fn:ee9c768a5bb1fcc:[cite:@SchoolofLife_EmotionalEducation_2020 Introduction]].

Does README need updating

The README says we have to create a Gemfile,
but the jekyll new command actually does that for us.

_plugins/convert.rb:32:in `<module:Jekyll>': cannot load such file -- jekyll/post (LoadError)

Seems Jekyll 3.0.0 has broken jekyll-org?

This <module:Jekyll>': cannot load such file -- jekyll/post (LoadError) error is popping up elsewhere for other people too, but it's not clear what is breaking things.

For testing simply a jekyll new testing with jekyll-org cloned into _plugins:

 ~/testing$ jekyll -v
jekyll 3.0.0
 ~/testing$ jekyll serve
Configuration file: /home/mash/testing/_config.yml
/home/mash/testing/_plugins/convert.rb:32:in `<module:Jekyll>': cannot load such file -- jekyll/post (LoadError)
    from /home/mash/testing/_plugins/convert.rb:3:in `<top (required)>'
    from /home/mash/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/mash/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:75:in `block (2 levels) in require_plugin_files'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:74:in `each'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:74:in `block in require_plugin_files'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:73:in `each'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:73:in `require_plugin_files'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/plugin_manager.rb:18:in `conscientious_require'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/site.rb:97:in `setup'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/site.rb:49:in `initialize'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/commands/build.rb:30:in `new'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/commands/build.rb:30:in `process'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/lib/jekyll/commands/serve.rb:26:in `block (2 levels) in init_with_program'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
    from /home/mash/.rvm/gems/ruby-2.2.1/gems/jekyll-3.0.0/bin/jekyll:17:in `<top (required)>'
    from /home/mash/.rvm/gems/ruby-2.2.1/bin/jekyll:23:in `load'
    from /home/mash/.rvm/gems/ruby-2.2.1/bin/jekyll:23:in `<main>'
    from /home/mash/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
    from /home/mash/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'

Error: uninitialized constant RSpec

I followed https://github.com/eggcaker/jekyll-org and
http://emacs.cc/jekyll-org. But it's still a mistake.

chai@DESKTOP-6HHV9CC:~/chs513.github.io>bundle exec jekyll serve --watch
Configuration file: /home/chai/chs513.github.io/_config.yml
/home/chai/chs513.github.io/_plugins/jekyll-org/lib/jekyll-org.rb:37: warning: already initialized constant Jekyll::Document::DATELESS_FILENAME_MATCHER
/var/lib/gems/2.5.0/gems/jekyll-3.8.4/lib/jekyll/document.rb:14: warning: previous definition of DATELESS_FILENAME_MATCHER was here
/home/chai/chs513.github.io/_plugins/jekyll-org/lib/jekyll-org.rb:38: warning: already initialized constant Jekyll::Document::DATE_FILENAME_MATCHER
/var/lib/gems/2.5.0/gems/jekyll-3.8.4/lib/jekyll/document.rb:15: warning: previous definition of DATE_FILENAME_MATCHER was here
jekyll 3.8.4 | Error:  uninitialized constant RSpec

Any idea?

datestamps

hello -

thanks for the plugin and the description. I receive the following message when running jekyll serve. As a result, dates are not picked up from file names, instead all org posts use the current day as datestamp and the html post url is unchanged: http://localhost:4000/2016/12/07/2015-12-17-abc.html

this could be an issue of my ruby/jekyll installation...

Error converting file _posts/abc.org: undefined local variable or method `post_read' for #<Jekyll::Document:0x00555ebc5beaf8> [
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/document.rb:370:in `method_missing'", 
"/home/xps13/.gem/ruby/gems/jekyll-org-1.0.1/lib/jekyll-org.rb:76:in `read'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:35:in `each'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:35:in `block in read_publishable'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:35:in `tap'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:35:in `read_publishable'", "/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/readers/post_reader.rb:25:in `read_posts'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/reader.rb:62:in `retrieve_posts'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/reader.rb:49:in `read_directories'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/reader.rb:17:in `read'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/site.rb:163:in `read'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/site.rb:67:in `process'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/command.rb:26:in `process_site'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/commands/build.rb:63:in `build'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/commands/build.rb:34:in `process'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/lib/jekyll/commands/serve.rb:37:in `block (2 levels) in init_with_program'", 
"/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'", "/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'", 
"/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'", 
"/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'", 
"/home/xps13/.gem/ruby/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'", 
"/home/xps13/.gem/ruby/gems/jekyll-3.3.1/exe/jekyll:13:in `<top (required)>'", "/usr/local/bin/jekyll:23:in `load'", "/usr/local/bin/jekyll:23:in `<main>'"]

Raw html

When I follow the directions in the README, each of my blog posts appears entirely as the raw html of the org post in my local webserver.

Mutliple tags ?

Hi,
Separating tags with spaces or commas in my org file won't be parsed like separate tags but like ONE (big) tag, AFAIK.
I've tried various workarounds like :

  • tag1   tag2
  • [tag1, tag2]
  • tag1 tag2
  • #+TAGS: tag1 followed by #+TAGS: tag2

with no success.
(I may add that I don't publish on github).

关于中文乱码问题

你好:
我使用的你的jekyll-org,来使用org-mode 配合 jekyll使用,但是我碰到了中文乱码问题,请问,怎么解决这个问题(ps:关于使用org-mode 来配合 jekyll的方式,我找了好久了,现在终于看到一个靠谱的,请千万帮忙)

Unable to install and use the converter

I started a fresh Jekyll website and tried to include the jekyll-org converter. However, I fail to install it....

I don't understand the second part of the instructions. Should I do both? I only added the submodule, but then jeykll serve yields something like: Build Warning: Layout 'posts' requested in _posts/2015-05-29-test.org does not exist. when I try to add a new post. The post is found and added but without a title, tags etc.

Can someone help me with the setting phase?

Support for Nested YAML Front Matter Dicts

Hello,

I'm working with a Jekyll theme that allows header images and captions for each blog post. It works with the following YAML.

header:
  image: /assets/images/unsplash-image-1.jpg
  caption: "Photo credit: [**Unsplash**](https://unsplash.com)"

The variables are nested under the header dictionary. But as far as I can tell, jekyll-org does not support these types of variables.

My question: How hard would this be to implement; or is this functionality supported and I'm just missing the correct org syntax?

Convert org file to page

Does jekyll-org support org file for pages? I try to create a page with something like /example.org , but example.org isn't converted to html output.

关于文件名解析至标题

文件名2017-01-17-welcome-to-jekyll-with-org.org最后build出的文件名为2017-01-17-welcome-to-jekyll-with-org.html,是包含日期的。

2017-01-17-welcome-to-jekyll.markdown最后build出的文件是welcome-to-jekyll.html,前面日期部分是去除的。

=。=这个会影响到permalink 里的title参数(或者说是slug)

添加:
在org文件中,#+slug可以正常运作。。就是说。。要是能有个默认值设成和markdown一样就好了。。

Liquid tags?

Is it still possible to use Liquid tags within the content of a .org file? I know you disabled them, what was the purpose of doing so?

Images?

Have you tried to insert an image?

If you have something like this:

#+CAPTION: Caption
#+ATTR_HTML: :alt alt attribute :title title attribute
http://url-image.jpg

The HTML is:

<p>http://url-image.jpg</p>

And there is not an image displayed but text.

Have I missed something to make it work?

Best!

Excerpt support for .org files

Jekyll populates the excerpt field for every markdown post/page with the first paragraph from the document.
For .org files jekyll-org is not setting the field, which causes jekyll to return the entire document as the excerpt.

Error with Jekyll 3.5.0: 'raw' tag was never closed in /_layouts/default.html

I get the following output when converting an org-mode blog post.

Configuration file: /home/demifiend/Documents/matthewgraybosch.com/_config.yml
            Source: /home/demifiend/Documents/matthewgraybosch.com
       Destination: /home/demifiend/Documents/matthewgraybosch.com/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
/usr/lib/ruby/gems/2.4.0/gems/jekyll-org-1.0.1/lib/jekyll-org.rb:76:in `read': Jekyll::Document#post_read at /usr/lib/ruby/gems/2.4.0/gems/jekyll-3.5.0/lib/jekyll/document.rb:11 forwarding to private method Jekyll::Document#read_post_data
         AutoPages: Disabled/Not configured in site.config.
        Pagination: Complete, processed 1 pagination page(s)
  Liquid Exception: Liquid syntax error (line 1): 'raw' tag was never closed in /home/demifiend/Documents/matthewgraybosch.com/_posts/2017/2017-06-01-matthews-blog-june-2017.org/#excerpt
  Liquid Exception: Liquid syntax error (line 1): 'raw' tag was never closed in /_layouts/default.html
jekyll 3.5.0 | Error:  Liquid syntax error (line 1): 'raw' tag was never closed

The full stack trace is attached below.

jekyll-org-trace.txt

If it helps, here's the text of the org-mode file.

#+TITLE: "Matthew's Blog, June 2017"
#+LAYOUT: post
#+DESCRIPTION: "Blog posts for June 2017, all in one big org-mode file."
#+CATEGORY: 2017
#+TAGS: org-mode testing paris
#+DATE: "2017-06-30 23:59"

* June 30, 2017

This is a test using the [[https://github.com/eggcaker/jekyll-org][jekyll-org]] plugin for [[https://jekyllrb.com][Jekyll]]. Hopefully this works and I can use org-mode to write posts for my website.

<div class="highlight"> not being attached to src blocks

For example:

#+BEGIN_SRC python
print("hello world")
#+END_SRC

In the _site folder, the html shows up as:

<pre class="src" lang="python">
print(&quot;hello world&quot;)
</pre>

When I invoke org-ruby from the command-line, I get:

$ org-ruby ./test.org 
<div class="highlight"><pre><span></span><span class="k">print</span><span class="p">(</span><span class="s2">&quot;hello world&quot;</span><span class="p">)</span>
</pre></div>

Which appropriately wraps my code in a highlight div.
I think it has something do do with the yaml file that's passed to the orgmode parser on line 52 of jekyll-org.rb, though I'm not completely sure. I'm totally new to ruby, so I'm having a little trouble pinning down the cause.

Please release this plugin as a gem!

I would like to add this plugin to GitHub Pages' plugin whitelist, so jekyll-org can be used with vanilla GitHub Pages. But as far as I can see whitelisted plugins needs to be installable as gems. Could you please consider this?

Date insertion

Hi

According to org-mode, you can insert a date with the LaTeX header:

#+DATE: <2017-12-01 vie>

But Jekyll says:

Error: undefined method `strftime' for "<2017-12-01 vie>":String Did you mean? strip

Is it possible to use the DATE tag? If not, what is the way to do it properly?

Best!

How to render raw html?

I want to embed a youtube video. I have the raw html embed code from youtube

<iframe width="560" height="315" src="https://www.youtube.com/embed/zp8-eUmAnhg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

If I insert this as-is into the .org document it just outputs text.

if I try:

#+liquid: enabled
{{<iframe width="560" height="315" src="https://www.youtube.com/embed/zp8-eUmAnhg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>}}

it renders nothing

Suggestion for README

I'm a bit confused about three similarly named/topic projects.

  https://github.com/eggcaker/jekyll-org
  https://github.com/bmaland/happyblogger
  https://github.com/ardumont/org2jekyll

It would helpful if the README included links to them, and also where this project fits in the bigger scheme of things.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.