library("bookbuildeR");
library("testthat");
context("preprocess.textblocks");
test_that("Test preprocess.doc 1 definition", {
result <- preprocess.textblocks(
"xyz\\text.block{definition}{label}{body.}abc"
);
expect_identical(result,
"xyz\n\n\n**Definition 1.** body.\n\n\nabc");
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.