tiwed of sewantic HTML? with divifier.js, the onwy tag u neewd is <div>!
-
delete github and never visit this repo again
-
put on programming socks
-
install divifier.js - either with file or cdn
- install with file
- download
divifier.js
into your repo - paste at bottom 🥺 of the
<body>
tag
<script src="[PATH]/divifier.js"></script>
- download
- install with cdn
- paste cdn link at the bottom 🥺 of the
<body>
tag
https://cdn.jsdelivr.net/gh/eaaasun/divifier@latest/divifier.min.js
- paste cdn link at the bottom 🥺 of the
- install with file
-
paste the code after the file/cdn link to initialize divifier
<script> divify(); </script>
-
take off programming socks
add a <div>
with a class corresponding to whatever tag you want, and use whatever attributes fit that tag.
<div class="table">
<div class="tr">
<div class="th">thing</div>
<div class="th">link</div>
</div>
<div class="tr">
<div class="td">example site</div>
<div class="td">
<div class="a" href="https://divifier.js.org">link</div>
</div>
</div>
<div class="tr">
<div class="td">image</div>
<div class="td">
<div class="img" src="https://divifier.js.org/example.png" alt="example image"></div>
</div>
</div>
</div>
option | value | default |
---|---|---|
target | string | "div" |
consoleMsg | boolean | true |
<!-- other code -->
<script href="[PATH]/divifier.js"></script>
<script>
divify({
target: "span",
consoleMsg: false
});
</script>
</body>
- good
- open an issue with as much or as little detail
- i will close ur issue
- L+ratio+wontfiwx+mald+cry about it
- never visit this repo again
- open a pull request
- i will deny said pull request
- L+ratio+mald+cry about it
- autocomplete/code editors won't autocomplete
- formatters won't format properly