This is a sample document that demonstrates Cloudpress' raw content block feature. This feature allows you to export custom markup to WordPress, which is useful when you want to use a custom Gutenberg block.
Below is an example of a custom countdown timer block using the Spectra Countdown block. The markup for this block is placed between @@begin_raw_content
and @@end_raw_content
processing directives, indicating to Cloudpress that the content must be treated as raw content and exported to WordPress as-is.
@@begin_raw_content
<!-- wp:uagb/countdown {"block_id":"3c9690e8","endDateTime":"2024-12-31T17:00:00.000Z","displayEndDateTime":"2025-01-01T00:00:00","endDateTimeCopy":"2024-12-31T17:00:00.000Z","timeModified":true} -->
<div class="wp-block-uagb-countdown uagb-block-3c9690e8"><div class="wp-block-uagb-countdown__box wp-block-uagb-countdown__box-days"><div role="timer" aria-live="off" class="wp-block-uagb-countdown__time wp-block-uagb-countdown__time-days">-</div><div class="wp-block-uagb-countdown__label">DAYS</div></div><div class="wp-block-uagb-countdown__box wp-block-uagb-countdown__box-hours"><div role="timer" aria-live="off" class="wp-block-uagb-countdown__time wp-block-uagb-countdown__time-hours">-</div><div class="wp-block-uagb-countdown__label">HOURS</div></div><div class="wp-block-uagb-countdown__box wp-block-uagb-countdown__box-minutes"><div role="timer" aria-live="off" class="wp-block-uagb-countdown__time wp-block-uagb-countdown__time-minutes">-</div><div class="wp-block-uagb-countdown__label">MINUTES</div></div><div class="wp-block-uagb-countdown__box wp-block-uagb-countdown__box-seconds"><div role="timer" aria-live="off" class="wp-block-uagb-countdown__time wp-block-uagb-countdown__time-seconds">-</div><div class="wp-block-uagb-countdown__label">SECONDS</div></div></div>
<!-- /wp:uagb/countdown -->
@@end_raw_content
The content between the processing directives must be either text or code blocks. During export, all other blocks will be dropped, as will text formatting like bold and italics.