I modified this script to point to the 'js' directory and made it a script button, all it does is create a level one node 'imported files' with two descendants, both @path nodes, one for the directory an one for the reveal.js file.
On Friday, January 31, 2020 at 6:14:28 AM UTC-5, Edward K. Ream wrote: > > On Monday, January 27, 2020 at 1:56:09 PM UTC-6, tfer wrote: > > > I had a problem when trying to do an import with a "tabwidth 2" > directive in effect, below is the body text of the node I was using: > > I mentioned the solution in passing in another thread. You can set > c.tab_width to 2 for the import script as follows: > > c.tab_width = 2 > try: > c.recursiveImport( > dir_ = r'C:\leo.repo\reveal.js\js', > kind = '@auto', > recursive = True, > safe_at_file = True, > theTypes = ['.js',], > ) > finally: > c.tab_width = -4 > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/45fc3c37-dcc8-4bd0-aa39-965b4c624cf0%40googlegroups.com.
