Giter VIP home page Giter VIP logo

Comments (4)

fujohnwang avatar fujohnwang commented on June 29, 2024 1

@PKief sorry, I just modify the local source code under ~/.vscode, since I don't have enough skills on vscode extension dev, I have simply browsed the source and add date string under:

if(!r(s))e.edit(e=>{e.insert(new o.Position(s.lineNumber,a.pos),(t&&!a.bullet?n+" ":"")+"[ ] "+(new Date().toISOString().split('T')[0])+"-> ")})})

vscode-markdown-checkbox/src/createCheckbox.ts maybe.

I think, if you can provide config options for the date format and disable/enable, that will be great for all extension users ;0)

from vscode-markdown-checkbox.

fujohnwang avatar fujohnwang commented on June 29, 2024

I have add the following code to local copy to solve this issue by myself, thanks.

(new Date().toISOString().split('T')[0])+"-> "

from vscode-markdown-checkbox.

fujohnwang avatar fujohnwang commented on June 29, 2024

image

from vscode-markdown-checkbox.

PKief avatar PKief commented on June 29, 2024

@fujohnwang thank you for letting me know that you've fixed the issue for yourself. Would you like to create a pull request with your changes? Then I could take a look and include it to this extension 🙂

I could also add an option which could enable/disable this feature through the user settings 👍

from vscode-markdown-checkbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.