# Web tools

```bash
cd /Volumes/nc/nc-server
lj preference/form/nc/nc-define/convert/convert-ma-html-to-json.lua ~/ma-git/other/old/web/ma/plugin/input/ses_input
```

## Files

- convert-ma-html-to-json.lua
  - convert old html web pages to new format
  - uses tool/web/convert/convert-ma-html-to-json.json and it uses convert_tags.json
  - convert-ma-html-to-json.json
    - field_attribute tells what tags contains fields and value is schema to use to convert that field to local field
- convert-json-to-html.lua
  - convert json to html or pug, used by layout editor
- create_component.lua
  - old tool to create Vue components, not in use
- convert-html-json.lua
  - utility for others, do not run directly
- code_replace.lua
  - generic replace library code, used by convert-html-json.lua
