--- url: https://docs.youcan.shop/changelog/theme-check.md --- You can check a theme from the CLI with `youcan theme check`, loop over a range in `tablerow`, and paginate any array. *** # Theme check and Liquid fixes * With `youcan theme check`, the theme in the current directory is checked, and every error and warning is listed with its file and line. The exit code is `1` when the theme has errors. See [Theme Check](/themes/cli/commands#theme-check). * In `tablerow`, you can loop over a range such as `(1..4)`. `col`, `col0`, `col_first`, `col_last` and `row` are available on `tablerowloop`. A `` is printed for each item, also when the loop is stopped with `break`. See [`tablerow`](/themes/tags/tablerow). * Any array, such as `product.variants`, can be paginated. Inside the `paginate` tag, only the current page of the array is available. See [`paginate`](/themes/tags/paginate). * Variables that you assign outside a theme block cannot be read inside it. See [Rendering theme blocks](/themes/theme-blocks#rendering-theme-blocks). * Variables that you assign inside a section rendered with `section` or `sections` are not visible outside the section.