Code Monkey home page Code Monkey logo

Comments (12)

wowthemesnet avatar wowthemesnet commented on June 5, 2024 2

Demo
Use toc: true in post where you want toc.

from mediumish-theme-jekyll.

rahulkumarsingh73690 avatar rahulkumarsingh73690 commented on June 5, 2024 2

Yoo, It worked for me. Thanks 😀

from mediumish-theme-jekyll.

wowthemesnet avatar wowthemesnet commented on June 5, 2024 1

Would it make sense to set an yaml paragraph before TOC like this?

---
layout: post
title:  "Education must also train one for quick, resolute and effective thinking."
author: john
categories: [ Jekyll, tutorial ]
image: assets/images/3.jpg
toc: true
beforetoc: "This is the paragraph before TOC where I can shortly describe what this post is about before actually displaying the TOC "

So the output would be:

Education must also train one for quick, resolute and effective thinking.

This is the paragraph before TOC where I can shortly describe what this post is about before actually displaying the TOC.

Table of Content

Actual, usual {{content}}

from mediumish-theme-jekyll.

wowthemesnet avatar wowthemesnet commented on June 5, 2024 1

I'm thinking if I set a dynamic first paragraph, can conflict. In example, what if the first paragraph of the user is actually a list. Or another image? Does this make sense? This way you have total control of what you want to emphasize before TOC and also doesn't create potential conflicts as the ones described.

from mediumish-theme-jekyll.

wowthemesnet avatar wowthemesnet commented on June 5, 2024 1

Well, I haven't implemented yet, I wanted to consult with you guys first :)

from mediumish-theme-jekyll.

rahulkumarsingh73690 avatar rahulkumarsingh73690 commented on June 5, 2024

Thanks for adding but if it is after a 1st paragraph or before the first header then that is best for us.

from mediumish-theme-jekyll.

wowthemesnet avatar wowthemesnet commented on June 5, 2024

I'll see what I can do.

from mediumish-theme-jekyll.

rahulkumarsingh73690 avatar rahulkumarsingh73690 commented on June 5, 2024

Okay so it would be manually.

from mediumish-theme-jekyll.

rahulkumarsingh73690 avatar rahulkumarsingh73690 commented on June 5, 2024

Okay I understand but beforetoc: is not worked for me

from mediumish-theme-jekyll.

rahulkumarsingh73690 avatar rahulkumarsingh73690 commented on June 5, 2024

Ohh that's why it not worked for me.😀

from mediumish-theme-jekyll.

wowthemesnet avatar wowthemesnet commented on June 5, 2024

Working on it right now!

2019-03-22_11h48_15

from mediumish-theme-jekyll.

wowthemesnet avatar wowthemesnet commented on June 5, 2024

Ok, you can check now!

from mediumish-theme-jekyll.

Related Issues (20)

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.