rcjach / hugo-webslides Goto Github PK
View Code? Open in Web Editor NEWThis is a Hugo template to create WebSlides presentation using markdown.
Home Page: https://rcjach.github.io/hugo-webslides/
License: MIT License
This is a Hugo template to create WebSlides presentation using markdown.
Home Page: https://rcjach.github.io/hugo-webslides/
License: MIT License
The certificate of fontastic.me is expired, and cors is invalid. Better to use another approach
I just noticed while browsing through the Hugo theme page of this theme, that the "Homepage" URL is pointing to example.com
.
See https://themes.gohugo.io/hugo-webslides/
Seems to be caused by this line in your theme.toml
:
Line 5 in 362090a
im with hugo v0.101.0. I put your _index.md files from exampleSite in content, the css instructions are not read.
If I want to link to a specific slide I need to link to #slide=13
But if I am generating the slides from several markdown files then we don't know the number in advance
Would it be possible to link to a named slide in file2.md when I am editing slides in file1.md and have Hugo calculate where to go to
Otherwise the current slide linking breaks if you have a series of links to do. Alternately could we reference a particular slide in a particular file?
Currently, the class assignment expression is inconsistent between slide properties and block properties.
In slide properties, we use dot to assign class (.class) and the number sign to assign id (#id), two dots creates a div (with class assignment) beneath the slide
Block property assignments are doing with regex on the content of the slide, rather than searching a fixed line. Thus merely searching for contents after a dot, which end with space is no longer valid, since in this case a dot can exist as part of the actual content, and the search will have to be restricted within the HTML comment line mentioned above.
This rises an issue, because the number of blocks are unknown, the number of classes are unknown as well, there isn't a valid way to extract varied number of classes from all blocks (that have class assignment), without extracting the dot before the class name. The only way to achieve that, normally, is to use a regex lookbehind, such as (?<=[.])[^. ]+ where the dot will be ignored. However lookbehind doesn't exist in golang...
So currently, for block class assignment, class names are everything behind a dot, separated by space(s). For example, # becomes
I will have to search for another way around lookbehind to solve this problem.
Hugo v0.60 changed to the GoldMark Markdown parser. Its not rendering the theme correctly
Added the following to the config.toml file and the site renders correctly now
[markup]
defaultMarkdownHandler = "blackfriday"
Following the Hugo sites recommendation of setting changing the markup configuration for Goldmark to unsafe mode to true if you have lots of inline html did not solve the issue
https://gohugo.io/getting-started/configuration-markup/#configure-markup
markup:
goldmark:
renderer:
unsafe: true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.