netizenorg / netnet.studio

netnet.studio is a hypermedia higherEd cyberspace for fully realizing the Web’s creative potential.
https://netnet.studio
GNU General Public License v3.0
29 stars 8 forks source link

Issue #237: dashed syntax for line number highlights #248

Closed Cthomp7 closed 7 months ago

Cthomp7 commented 8 months ago

Added extra if statement so when _getData is generated it will accept dashed values (ex: 5-8). Everything worked when downloading JSON & generating link + running example #237

nbriz commented 7 months ago

@Cthomp7 any progress on this one? TL;DR

Cthomp7 commented 7 months ago

@nbriz Did and done! I cleaned up the two console.logs and added the same flatMap functionality to the preview function as well. Let me know if you have any other issues 🐸

nbriz commented 7 months ago

perfect! thnx @Cthomp7 merging now!