MCPcopy Create free account
hub / github.com/apache/camel-website / responsiveTables

Function responsiveTables

extensions/table.js:1–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function responsiveTables() {
2 this.process((doc, output) => {
3 return output.replace(/<table/g, '<div class="table-wrapper"><table').replace(/<\/table>/g, '</table></div>')
4 })
5}
6
7module.exports.register = (registry, context) => {
8 registry.postprocessor(responsiveTables)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected