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

Could not render a timeline block. Please correct the input. #68

Open
ZhangzrJerry opened this issue Oct 15, 2024 · 5 comments
Open

Could not render a timeline block. Please correct the input. #68

ZhangzrJerry opened this issue Oct 15, 2024 · 5 comments

Comments

@ZhangzrJerry
Copy link

I installed the plugin via pip and copied the .css file to the file system, and

extra_css:
  - stylesheets/index.css
  - stylesheets/blog.css
  - stylesheets/resume.css
  - stylesheets/academics.css
  - stylesheets/neoteroi.css

markdown_extensions:
  - attr_list
  - md_in_html
  - neoteroi.projects
  - neoteroi.timeline
::timeline::

- content: First implementation.
  icon: ':material-rocket-launch-outline:'
  sub_title: 2022-Q1
  title: Launch

::/timeline::
[timeline(./docs/gantt/timeline.yaml)]

but it throws
image

@benmozes
Copy link

Hi mate, did you manage to solve the problem?

@ZhangzrJerry
Copy link
Author

Hi mate, did you manage to solve the problem?

Haven't yet. I have no idea how to solve it. I suppose it may because of the unmatch between mkdocs version and neoteroi version? Because all the codes are same to the tutorial.

@benmozes
Copy link

my be stupid action, but it works
get old css from 1.0.4

extra_css:
  - css/<new_fliename>.css
  ...

and remove ::timeline:: from yml file

- content: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  icon: ':fontawesome-solid-gem:'
  sub_title: 2022-Q2
  title: New features
- content: Lorem ipsum dolor sit amet.
  icon: ':material-gauge-empty:'
  sub_title: 2022-Q3
  title: More features!
- content: Lorem ipsum dolor sit amet.
  icon: ':material-bug:'
  sub_title: 2022-Q4
  title: Bugs!
image

@ZhangzrJerry
Copy link
Author

my be stupid action, but it works get old css from 1.0.4

extra_css:
  - css/<new_fliename>.css
  ...

and remove ::timeline:: from yml file

- content: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  icon: ':fontawesome-solid-gem:'
  sub_title: 2022-Q2
  title: New features
- content: Lorem ipsum dolor sit amet.
  icon: ':material-gauge-empty:'
  sub_title: 2022-Q3
  title: More features!
- content: Lorem ipsum dolor sit amet.
  icon: ':material-bug:'
  sub_title: 2022-Q4
  title: Bugs!
image

Well, it works, thanks!

@ZhangzrJerry
Copy link
Author

How can I help to improve the tutorial

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

2 participants