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

Prepare structural tabs support presentation of variablelist #606

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

tomschr
Copy link
Collaborator

@tomschr tomschr commented Feb 16, 2024

"Tabs" presentation is rendered "inline" and <term>s become tab titles. To enable it, there are two possibilities:

  • With role

    <variablelist role="tabs">`
  • With PI

    <variablelist>
       <?dbhtml list-presentation="tabs"?>

Input

<variablelist role="tabs">
   <varlistentry>
      <term>Geeko</term>
      <listitem>
         <para>The SUSE mascot</para>
      </listitem>
   </varlistentry>
<variablelist>

Output

The following structure is created:

<div class="variablelist">
  <dl class="variablelist tabs">
     <dt id="..."><span class="term">Geeko</span></dt>
     <dd>
        <p>The SUSE mascot</p>
     </dd>
  </dl>
</div>

TODO

  • CSS
  • JS

"Tabs" presentation is rendered "inline" and <term>s become
tab titles. To enable it, there are two possibilities:

* With role
  <variablelist role="tabs">

* With PI
  <variablelist>
    <?dbhtml list-presentation="tabs"?>

TODO: CSS/JS
@tomschr tomschr changed the title Prepare tabs support presentation of variablelist Prepare structural tabs support presentation of variablelist Feb 16, 2024
@tomschr tomschr marked this pull request as ready for review February 16, 2024 07:35
@tomschr tomschr merged commit 3214ae5 into main Feb 16, 2024
2 checks passed
@tomschr tomschr deleted the vl-as-tabs branch February 16, 2024 07:36
tomschr added a commit that referenced this pull request Feb 21, 2024
tomschr added a commit that referenced this pull request Feb 21, 2024
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

Successfully merging this pull request may close these issues.

1 participant