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

Markup: Content Intelligence Matching #278

Closed
trieloff opened this issue Apr 20, 2020 · 1 comment
Closed

Markup: Content Intelligence Matching #278

trieloff opened this issue Apr 20, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request released

Comments

@trieloff
Copy link
Contributor

Add a new type=content to the Markup Mapping config that enables using the TypeMatcher in helix-pipeline.

Instead of using a CSS path expression in match, you would then use a content expression like:

  • ^heading – the first element is a heading.
  • paragraph$ – the last element is a paragraph.
  • heading image+ – a heading followed by one or more images.
  • heading? image – an optional heading followed by one image.
  • heading paragraph* image – a heading followed by any number of paragraphs (also no paragraphs at all), followed by an image.
  • (paragraph|list) – a paragraph or a list.
  • ^heading (image paragraph)+$ – one heading, followed by pairs of image and paragraph, but at least one.
@trieloff trieloff added the enhancement New feature or request label Apr 20, 2020
@trieloff trieloff self-assigned this Apr 20, 2020
adobe-bot pushed a commit that referenced this issue Apr 22, 2020
# [7.1.0](v7.0.1...v7.1.0) (2020-04-22)

### Bug Fixes

* **deps:** npm audit fix ([f6c28f5](f6c28f5))
* **markup:** relax markup mapping schema ([fd62ae0](fd62ae0))

### Features

* **markup:** add support for content intelligence matching expressions ([16a0916](16a0916)), closes [#278](#278)
* **markup:** add URL matching type ([1902279](1902279)), closes [#279](#279)
@adobe-bot
Copy link

🎉 This issue has been resolved in version 7.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

No branches or pull requests

2 participants