getgrav / getgrav/grav-theme-learn2

Including html input fields in docs.md results in these fields systematically appearing on a separate line

Open
#78 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
79
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I am fan of this theme to create an interactive tutorial but face a small issue:

If I include this in one of the docs.md:
`This is an example of a texte with an input <input type="number" style="color:#20b030; width: 80px" value="10"> to be manipulated by the user.
`
it results in this:
![5711bec7eb4f7bad9ead6fe4635051624457cdb6_1_1380x208](https://user-images.githubusercontent.com/37220483/48401748-24645d00-e72a-11e8-844d-c8417cb35540.png)

How can I avoid for the input field to be on a separate file? I would like it to be included on the very same line as the sentence.
Thanks for any explanation/hint.

Xavier

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the rendering with the docs.md snippet containing the HTML input field and compare it with the attached screenshot. Inspect how the theme processes inline HTML in documentation, then verify that the input remains on the same line as the surrounding sentence.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, markdown
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.