Skip to content

Remove the need for a table wrapper capture #689

Open

Description

@muffinresearch

Depending on the template this might be best resolved with a "fence" style markdown extension.

Here's an example of the current syntax:

{% capture table %}

| Parameter             | Description   | Example             |
| ------------------------------------- | ------------------- | -------------------------- |
| <em>utm_source</em>		| The name of the product, domain of the website that drives traffic to the link. | <em>utm_source=email</em> |
| <em>utm_medium</em> | The channel you are using to share your link.  | <em>utm_medium=social</em> |
| <em>utm_content</em> | The specific item that a person clicks on to access the link (such as an A/B test, a website banner, or a specific ad). | <em>utm_content=get-the-addon-button</em> |
| <em>utm_campaign</em> | The specific product promotion or strategic campaign. | <em>utm_campaign=launch-announcement</em> |

{% endcapture %}
{% include modules/table.liquid
	content: table
%}

All the template is doing is this:

<div class="table-wrapper table-scroll" markdown="1">

{{ content }}

</div>

If at all possible it would be nice to not need to do anything other than the markdown for a table.

Activity

  1. added
    blocks-l10n
    on Jul 30, 2020
  2. added
    enhancement
    on Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocks-l10nenhancement

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions