1. 21 8月, 2017 1 次提交
  2. 17 8月, 2017 2 次提交
  3. 08 8月, 2017 1 次提交
  4. 22 7月, 2017 1 次提交
  5. 18 7月, 2017 2 次提交
  6. 16 6月, 2017 1 次提交
  7. 08 6月, 2017 1 次提交
  8. 03 6月, 2017 1 次提交
  9. 24 5月, 2017 1 次提交
  10. 23 5月, 2017 2 次提交
  11. 18 5月, 2017 1 次提交
  12. 17 5月, 2017 2 次提交
  13. 05 5月, 2017 1 次提交
  14. 27 4月, 2017 1 次提交
  15. 20 4月, 2017 1 次提交
  16. 19 4月, 2017 1 次提交
  17. 15 4月, 2017 1 次提交
  18. 14 4月, 2017 1 次提交
  19. 12 4月, 2017 2 次提交
  20. 07 4月, 2017 1 次提交
  21. 05 4月, 2017 3 次提交
  22. 24 3月, 2017 3 次提交
  23. 23 3月, 2017 1 次提交
  24. 21 3月, 2017 1 次提交
  25. 17 3月, 2017 1 次提交
    • M
      Prototype Allowing Extensions to Extend the Builtin Markdown Extension (#22421) · 09ec3557
      Matt Bierner 提交于
      * Prototype Allowing Extensions to Extend the Builtin Markdown Extension
      
      **Problem**
      There have been requests for adding new functionality to the markdown extension preview, such as supporting rendering of math or other syntax in the preview. The only current solution to this is create an extension that provides its own markdown preview. This results in inconsitent behavior with our markdown preview and is not a very scalable approach. We would like to find a way to allow users to add these extensions to our markdown preview without bundling the extensions in the preview itself.
      
      **Fix**
      Prototypes a new contribution point that extensions can use to extend the vscode markdown extension. Three types of extensions are possible: adding stypes to the preview, adding scripts to the preview, and extending the markdown it renderer.
      
      My current approach defines the contributed markdown extensions in the package.json using a structure like this:
      
      ```
        "contributesTo": {
          "vscode.markdown": {
            "plugins": [
              "./out/math"
            ],
            "scripts": [],
            "styles": [
              "./media/math.css"
            ]
          }
        }
      ```
      
      We could change the structure here. This design uses a pull model where markdown extensions are looked up by the vscode.markdown extension itself.
      
      The other approach for extension registration would be to use a push model. This would have the vscode.markdown extension export an api that each markdown extension would invoke to register new scripts/styles/plugins. I may switch over to this model but was interested in seeing what a more declarative approach would look like. Let me know if you have any thoughts one way or the other.
      
      The downside of allowing extensions like this is that they can completely change how the markdown preview looks and works. There is no well defined API for restricting what extensions can do like we have with VScode.
      
      * Use extensionDependencies
      
      * Remove example extension
      
      * Added gating and activation event
      09ec3557
  26. 08 3月, 2017 2 次提交
  27. 04 3月, 2017 1 次提交
    • M
      Add Enhanced Security Settings to Markdown Preview · 4ebfc2fc
      Matt Bierner 提交于
      Adds enhanced security settings for the markdown preview. The new flow disable all scripts within the preview itself. Users can enable scripts on a per workspace basis.
      
      When a markdown document that uses scripts is loaded, a warning is shown inside the document itself. This warning triggers a new security selector quick pick which allows users to enable or disable enahanced security in the workspace.
      4ebfc2fc
  28. 16 2月, 2017 1 次提交
  29. 09 2月, 2017 1 次提交
  30. 07 2月, 2017 1 次提交