jekyll-relative-links | Jekyll plugin to convert relative links | Plugin library
kandi X-RAY | jekyll-relative-links Summary
kandi X-RAY | jekyll-relative-links Summary
A Jekyll plugin to convert relative links to Markdown files to their rendered equivalents.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Recursively replaces the links in the document .
- Generate the contents of the document .
- Checks if the document has been excluded .
- Replies the link text into the link .
- Gets information about a link .
- Returns the relative path to the relative path
- Returns true if the given string is a valid URL
- Returns the path for the given path .
- Check if a fragment is a string
- Create a new instance of the links
jekyll-relative-links Key Features
jekyll-relative-links Examples and Code Snippets
Community Discussions
Trending Discussions on jekyll-relative-links
QUESTION
I am trying to contribute to a Github Page/Jekyll site and want to be able to visualise changes locally but when I run bundle exec jekyll serve
but I get this output:
ANSWER
Answered 2021-Feb-02 at 16:29I had the same problem and I found a workaround here at https://github.com/jekyll/jekyll/issues/8523
Add gem "webrick"
to the Gemfile in your website. Than run bundle install
At this point you can run bundle exec jekyll serve
For me it works!
QUESTION
I'm trying to build my blog on Github pages and I have to use Jekyll-paginate for obvious reasons. The problem is, I don't use the index.html page for anything other than a welcome page. I have a separate page called index.html in a folder called articles, thus the url for the blog should be xyz.github.io/articles/
.
However, this presents a major problem - apparently jekyll-paginate refuses to work without an explicit index.html in the root directory of the blog. So, I tried using jekyll-paginate-v2 which has no such restrictions, and it worked perfectly!
However, github pages don't support jekyll-paginate-v2, and thus, I'm back to square 1. What should I do?
NOTE : Here's my code:
index.md ...ANSWER
Answered 2018-Jun-29 at 13:22The documentation for Jekyll pagination says:
Pagination only works within HTML files
Pagination does not work from within Markdown or Textile files from your Jekyll site. Pagination works when called from within the HTML file, named
index.html
, which optionally may reside in and produce pagination from within a subdirectory, via thepaginate_path
configuration value.
So if you want your blog to be on URL /articles/
and /articles/N/
, specify this in your configuration:
QUESTION
I have the problem with relative links to a specific file not working at all both on gh-pages and on jekyll locally. Here is my setup->
i have a directory like this:
...ANSWER
Answered 2019-Aug-03 at 02:06Have you tried changing README.ja.md
to README_ja.md
? And having them both at the root directory.
QUESTION
I am having a problem when I use Jekyll to build a website and host it on github. The website uses a relative path dependency jekyll-relative-links, but this dependency is installed on the local disk:
/Users/xxx/.rvm/gems/ruby-2.5.1/gems/jekyll-relative-links-0.5.3
I will not find this dependency when I push the site onto github, so I would like to ask if I can install this dependency in the project. Thanks.
...ANSWER
Answered 2018-Nov-14 at 11:13GitHub Pages officially supports jekyll-relative-links 0.5.3
, so you can just install It as usual:
Add the following to your site's Gemfile:
gem 'jekyll-relative-links'
Add the following to your site's config file:
plugins: - jekyll-relative-links
More here
QUESTION
I use Jekyll to blog using GitHub pages. I have had a problem when running $ bundle exec jekyll serve
or jekyll serve
and the console prints:
ANSWER
Answered 2017-Jun-19 at 20:39It seems you don't have libcurl which is probably a dependency of this version of Jekyll or one of it's dependencies. Can you try installing it via https://curl.haxx.se/dlwiz/?type=lib?
QUESTION
Trying to execute jekyll on cygwin (x64) on Windows when I get this error in spite of using bundle exec prefix.
Shouldn’t the dependency defined in the Gemfile (i.e. 1.8.6) be activated when executing?
Any thoughts on what is going wrong here? I am totally new to the world of Ruby gems. I have looked at other "You have already activated .. " posts showing similar messages but the answers there didn’t solve my problem.
$ bundle exec jekyll serve
...ANSWER
Answered 2017-Mar-31 at 01:38I had the same problem yesterday. I am not an expert but the following worked for me:
I created a new website with Jekyll using:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jekyll-relative-links
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page