Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Text Formatter Laravel Package

s9e/text-formatter

PHP text formatting library with plugin support for BBCode, Markdown, HTML, and more. Includes predefined bundles, extensive documentation, and a JavaScript port for client-side preview and demos. Install via Composer and integrate customizable parsing/rendering.

View on GitHub
Deep Wiki
Context7

data-s9e-livepreview-hash

The value of a data-s9e-livepreview-hash attribute is automatically replaced during rendering with a hash that corresponds to the outerHTML value of its parent element. Elements with matching hashes are considered identical during DOM diffing, regardless of their content. This can be used to quickly skip deep trees or content that is modified post-rendering.

The hashing algorithm is left unspecified and may change between minor releases.

data-s9e-livepreview-ignore-attrs

Contains a space-separated list of attributes whose content should not be replaced or removed in the live preview. Can be used to preserve the state of an interactive element such as detail during preview.

<details open="" data-s9e-livepreview-ignore-attrs="open">
This will not automatically reopen if closed during preview.
</details>

data-s9e-livepreview-onrender

The content of a data-s9e-livepreview-onrender attribute is executed after the new DOM has been generated and before it's inserted into the target element. In this context, this will refer to the attribute's element.

<span data-s9e-livepreview-onrender="this.style.color='red'">This will be red.</span>

data-s9e-livepreview-onupdate

The content of a data-s9e-livepreview-onupdate attribute is executed during DOM diffing, whenever an element or its subtree is created or modified. In this context, this will refer to the attribute's element.

This event can be used to add post-processing to an element, such as syntax highlighting in code blocks or processing some markup such as LaTeX on the client side. If the code executed during this event is resource-intensive, it is recommended to use the data-s9e-livepreview-hash to reduce the number of updates. In the example below, the event triggers on the first element after each keystroke because its content changes continuously, but it only triggers once on the second element because its content is hashed before the event is triggered and only that hash is used for comparison.

<div data-s9e-livepreview-onupdate="this.innerHTML=Math.random()"></div>
<div data-s9e-livepreview-onupdate="this.innerHTML=Math.random()" data-s9e-livepreview-hash=""></div>
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver